Summary

Session management is one of the key building blocks of interactive, large-scale Web applications. The capability to conduct transactions that span more than one page and to create individual sessions for each user who visits your Web site makes applications like Amazon.com’s online bookstore possible. This hour discussed two ways to add session management to your applications—using hidden form fields and using cookies. Using cookies is the more robust method; it enables you to manage sessions that comprise all the pages on your site.

Get Sams Teach Yourself CGI in 24 Hours, Second Edition 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.