This example demonstrates how to set and read cookies.
Cookies are useful for maintaining information across different web pages.
The cookie itself is stored in a file on the viewer's computer called cookies.txt. For instance, if a viewer is visiting multiple pages in a survey or catalog, the choices can be maintained easily with cookies. To insert put these tags on your web page, copy and paste the following into your web page's source. This tag displays the cookie. Since cookies persist across web pages, this tag can be inserted into any page on the homepage server and it will display the value of the cookie.