Class CGI::Session::MemoryStore
In: lib/cgi/session.rb
Parent: Object

In-memory session storage class.

Implements session storage as a global in-memory hash. Session data will only persist for as long as the ruby interpreter instance does.

Methods

close   delete   new   restore   update  

Public Class methods

Create a new MemoryStore instance.

session is the session this instance is associated with. option is a list of initialisation options. None are currently recognised.

Public Instance methods

Close session storage.

A no-op.

Delete the session state.

Restore session state.

Returns session data as a hash.

Update session state.

A no-op.

[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.