Thursday, 9 June 2011

Cookies and localhost

No matter how hard you try, cookies will never be stored in localhost if you explicitly specify the domain parameter as "domain=localhost". Because for the cookie to be stored the domain name must have at least two (2) or three (3) periods in them.
Reference:
You can find here the other conditions for the cookies
http://curl.haxx.se/rfc/cookie_spec.html

No comments:

Post a Comment