Web Development and Design White Papers
Web, Graphics, and Perl/Tk: Cookies
Overview A cookie is just a name=value pair, much like the named parameters used in the CGI query string and discussed in CGI Programming. When a web server or CGI script wants to save some state information, it creates a cookie or two and sends them to the browser inside the HTTP header. The browser keeps track of all the cookies sent to it by a particular server, and stores them in an on-disk database so that the cookies persist even when the browser is closed and reopened later. The next time the browser connects to a web site, it searches its database for all cookies that belong to that server and transmits them back to the server inside the HTTP header.
| Publisher | O'Reilly Media | File Format | |
|---|---|---|---|
| Date Published | March 2003 | Downloads | 1 |
| Format | Book chapters | ||
| Topics | |||



