session.rb

Path: lib/cgi/session.rb
Last Update: Tue Jun 30 13:21:38 -0700 2009

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

[Validate]

ruby-doc.org is a service of James Britt and Neurogami, a Ruby application development company in Phoenix, AZ.

Documentation content on ruby-doc.org is provided by remarkable members of the Ruby community.

For more information on the Ruby programming language, visit ruby-lang.org.

Want to help improve Ruby's API docs? See Ruby Documentation Guidelines.