# session.rb

Path: | cgi/session.rb
Last Update: | Fri Aug 29 23:53:24 GMT+10:00 2003

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 digest/md5

## Classes and Modules

Class CGI
::Class CGI::Session
:: ::Class CGI::Session::FileStore
:: ::Class CGI::Session::MemoryStore

[Validate]