MSA - Matt's Script Archive
 Matt's Script Archive: HTTP Cookie LibraryVersion: 2.1 - Released: December 26, 1996
  Other sites by Matt:
  - hosted form processor

  Matt's Script Archive
    Simple Search
    Random Text
    Free for all Links
    Random Link
    > HTTP Cookie Library 
    Random Image
    SSI Random Image
    TextCounter C++
    TextClock C++

HTTP Cookie Library is a Perl 4 and 5 compatible library which allows you to easily use Persistent Client State HTTP Cookies by allowing you to get the cookies from the environment, set cookies, cookies, compress multiple cookies into one, change the expiration date, domain and path, and more all with easy subroutine calls. There are several downloading options available below and more information on this script can be found in the Readme file.
The Readme files at Matt's Script Archive contain detailed installation, configuration and usage instructions that will take you step by step from putting the scripts on your system to using them in your web pages. You should read these through and keep them by you when setting up or installing any MSA script. It is probably not a bad idea to print them out. Each compressed script package contains a plain text version of the Readme file, however the links below will take you to their HTML counterparts.

      Readme Files: HTTP Cookie Library:
            - Copyright and Header
            - Overview
            - cookie.lib Configuration
            - Using the Library in your CGI Script
            - Character Translation Information
            - Any Examples Available?
            - Other Cookie Resources
            - History
HTTP Cookie Library can be downloaded in several different formats, or you can even have it mailed to you as a uuencoded file. Click on one of the links below to the appropriately compressed file and download options will appear.
Cookie Library format: .zip (11.9kb), .tar.gz (13.7kb), .tar (51.2kb) 
The above distributions contain the following files you may wish to view:

      cookie.lib - The perl library which contains the code for HTTP Cookie Library.
      README - Includes installation instructions and a detailed description of use. - An example of how to use the HTTP Cookie Library in a CGI script.
Working Demo
Several scripts at Matt's Script Archive lend themselves well to local working demonstrations. The HTTP Cookie Library is one of these and the working demo of ccounter.cgi, which accompanies cookie.lib in the compressed packages, is here:

      HTTP Cookie Library: ccounter Working Demo
Frequently Asked Questions
The Frequently Asked Questions Archive at MSA is the easiest and fastest way to get help. It contains a list of the most commonly asked questions as well as their answers. Check these out before you seek other means of help, as your question may be answered here already.

      Frequently Asked Questions: HTTP Cookie Library:
            1. What are Cookies?
            2. Where can I get more information about Cookies?
            3. What Browsers Support Cookies?
nms HTTP Cookie Library
The following is a drop-in replacement for HTTP Cookie Library developed by a project called nms. We have also supplied info about their goals and modifications.
nms HTTP Cookie Library file format: .zip (4.2kb), .tar.gz (3.2kb) :: HTML Form to Email Processor
[ Linking to MSA | Advertising Opportunities | Contact Matt ]
© 1995 - 2009 Matt Wright and Matt's Script Archive, Inc.