• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 35. Cookies > Cookies, HTTP, and JavaScript

Cookies, HTTP, and JavaScript

When working with Web pages, you constantly employ the use of the HyperText Transport Protocol (HTTP), a stateless protocol. This means once you make a request from the server and the server responds to that request, the slate is wiped clean and the browser cannot remember anything from the previous page. Cookies provide a way for the browser to remember this information between requests.

Note

After a Web file leaves the server, the server effectively forgets about it (it has a lot of other files to serve). Cookies and forms become doubly important in this aspect: to remind the server which client is which, when attached to an HTTP request.



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint