Last Modified
2015-07-14 14:21:24 -0700
  • cgi
  • tmpdir
  • securerandom
  • digest/md5
  • digest/md5


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 (


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.

blog comments powered by Disqus