Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

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 127.0.0.1 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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.