session.rb

Path: lib/cgi/session.rb
Last Update: Sun Oct 12 10:45:41 +0000 2008

cgi/session.rb - session support for cgi scripts

Copyright (C) 2001 Yukihiro "Matz" Matsumoto Copyright (C) 2000 Network Applied Communication Laboratory, Inc. Copyright (C) 2000 Information-technology Promotion Agency, Japan

Author: Yukihiro "Matz" Matsumoto

Documentation: William Webber (william@williamwebber.com)

Overview

This file provides the +CGI::Session+ class, which provides session support for CGI scripts. A session is a sequence of HTTP requests and responses linked together and associated with a single client. Information associated with the session is stored on the server between requests. A session id is passed between client and server with every request and response, transparently to the user. This adds state information to the otherwise stateless HTTP request/response protocol.

See the documentation to the +CGI::Session+ class for more details and examples of usage. See cgi.rb for the CGI class itself.

Required files

cgi   tmpdir   securerandom   digest/md5   digest/md5  

[Validate]