Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
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 '10 at 14:37
up vote 1 down vote accepted

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 and it should work.

share|improve this answer
no, it doesnt make any diferent – Domingo Jun 7 '10 at 16:08
Then please show how you are trying to use cookies, attach some code to the question. – Igor Zinov'yev Jun 8 '10 at 6:23

You must log in to answer this question.

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