Reputation: 3626
If you have site following this pattern(http://xx.yy/ ) internet explorer does not hold any cookies . Any solution ?
For example:
Upvotes: 14
Views: 3258
Reputation: 55112
Hmm.
So this interested me, and Eric Law is correct, however I have another work around that he does not seem to have listed.
Instead of:
http://aa.mk/
Make your url
http://aa.mk./
Note '.'
as suffix.
It will go to the same website, and, as far as I've just tested, you can set cookies on this domain.
I verified in IE6 using the JavaScript cookie-setting code here passing the domain as "aa.mk.
".
Upvotes: 7
Reputation: 57095
This is essentially by-design. The workaround is to put a "www" before xx.yy.
http://support.microsoft.com/kb/310676
http://crisp.tweakblogs.net/blog/ie-and-2-letter-domain-names.html
Upvotes: 34