O'Reilly logo

Web Technology: Theory and Practice by M. Srinivasan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

5.8 STATE MANAGEMENT

It is well known that the HTTP protocol to communicate with servers is actually a stateless protocol. This is good enough for point interactions, but what about an entire transaction? For example visualize the shopping cart scenario or airline reservation scenario. To complete one transaction, the user internally may have to connect and communicate with a server (or different servers) over a period of time. The question is how to achieve this over a stateless mechanism where each time is a different connection.

The problem is about how the server manages to connect pieces of information from each request that makes the transaction. This in turn translates into the problem of how the server (Servlet) identifies the multiple ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required