Skip to Content
Web Caching and Replication
book

Web Caching and Replication

by Michael Rabinovich, Oliver Spatscheck
December 2001
Intermediate to advanced
400 pages
12h 2m
English
Addison-Wesley Professional
Content preview from Web Caching and Replication

5.6. Storing State for a Stateless Server: Cookies

HTTP allows Web clients and servers to introduce new headers that are not specified in the standard, as long as these headers follow the general "keyword:value" structure. HTTP stipulates that clients and servers that do not understand the new headers should ignore them. This provision for new headers has become a great facilitator of innovation, allowing the graceful introduction of new functionalities to HTTP. The cookie mechanism [Kristol and Montulli 1997], which is not part of standard HTTP, is a prime example of such innovation. It provides an elegant mechanism to store state between Web interactions while retaining the stateless nature of HTTP servers. For example, a cookie can record ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Scaling Applications with Caching, Sharding, and Replication

Scaling Applications with Caching, Sharding, and Replication

Peter Zaitsev

Publisher Resources

ISBN: 0201615703Purchase book