State Maintenance Techniques
Several techniques have been developed to cope with the stateless nature of HTTP so that applications can provide a measure of continuity across requests. Some of these methods use the client for storing the information; others keep the information on the server.
Client-Side State Maintenance
For client-side techniques, the state information is maintained by the client and submitted to the server. These methods are described here, using the online quiz scenario to illustrate how each one might be used to keep track of state information:
Hidden fields enable you to embed information in a form that is sent to the client, where it remains stored in the page displayed by the browser until the user transmits it back ...
Get MySQL and Perl for the Web now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.