JavaScript - Working with cookies

javascript-dom

http://blogs.msdn.com/ie/archive/2007/08/29/update-to-internet-explorer-s-cookie-jar.aspx
http://therealcrisp.xs4all.nl/blog/2007/02/12/ie-and-2-letter-domain-names/

Set-Cookie: NAME=VALUE [;expires=DATE][;path=PATH][;domain=DOMAIN][;secure]

// The date is specified in the format: Weekday, DD-Mon-YY HH:MM:SS GMT

Cookie: NAME1=VALUE1;NAME2=VALUE2; // Browser sending matching cookies to server

document.cookie="..."; // Using JavaScript to manipulate cookies on the client side
var cookieString = document.cookie;
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License