Many web sites that you visit create and leave behind small files called cookies on your system. When you revisit the site, the cookie can be read and information restored. This allows a site to keep track of customized information specific to you.
It is very easy to see what information is stored in your cookies. This can be done by entering a single line of code into the address entry box of your browser.
First go to a site. Once at that site, enter the following into the address box:
The "Cookie:" is text that will be printed within the dialog box. You can see this text is printed in the above dialog. Added to this text is the information contained in document.cookie.The actual text of the cookie is actually contained within document.cookie.
For even more fun, try looking for cookies with different browsers. NetscapeNavigator and Microsoft Internet Explorer can show different cookie information!
Note: If your browser has cookies turned off, then obviously, you won’t have cookies anywhere!