CGI Programming 101: Chapter 15: HTTP Cookies

The text and programs here are from the first edition of CGI Programming 101. This has been replaced by the 2nd edition; please click here to view the updated material from the 2nd edition.


Name Description
cookie1.txt Setting a cookie (source code)
cookie1.cgi Setting a cookie (example)
cookie2.txt Reading a cookie (source code)
cookie2.cgi Reading a cookie (example)
cookie3.txt Setting a cookie that expires later (source code)
cookie3.cgi Setting a cookie that expires later (example)
cookie4.txt Setting multiple cookies (source code)
cookie4.cgi Setting multiple cookies (example)
cookie5.txt Reading multiple cookies (source code)
cookie5.cgi Reading multiple cookies (example)


All text and scripts are excerpted from CGI Programming 101, and are copyright © 1999 by Jacqueline D. Hamilton. Unauthorized reproduction of this material is prohibited.

Additional Resources

 


Table of Contents | Order the Book | CGI101 Home