-1

I use Google Chrome as my default internet browser, and I'm testing a code I made in HTML which uses cookies to store a variable. It works fine in Chrome and Firefox, but seems not to save any cookies in IE8, and the IE8 seems to have active the cookies. What can be?

1
  • Can you show us how you're trying to create the cookie? And does it indeed work if you make IE the default browser?
    – Arjan
    Jun 6, 2010 at 14:37

1 Answer 1

1

Maybe it's not about what browser is the default? Internet Explorer requires a domain extension to save cookies, and if you're using localhost, it won't save them. Try to make some test domain name like mytestdomain.local and set apache up so that it will respond to it.

Then make a hosts file entry that will point mytestdomain.local to 127.0.0.1 and it should work.

2
  • no, it doesnt make any diferent
    – Domingo
    Jun 7, 2010 at 16:08
  • Then please show how you are trying to use cookies, attach some code to the question. Jun 8, 2010 at 6:23

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .