restore

restore() Instance Public methods Restore (empty) session state.

update

update() Instance Public methods Update session state. A no-op.

new

new(session, option={}) Class Public methods Create a new CGI::Session::PStore instance This constructor is used internally by CGI::Session. The user does not generally need to call it directly. session is the session for which this instance is being created. The session id must only contain alphanumeric characters; automatically generated session ids observe this requirement. option is a hash of options for the initializer. The following options are recognised: tmpdir the dir

close

close() Instance Public methods Update and close the session's PStore file.

delete

delete() Instance Public methods Close and delete the session's PStore file.

restore

restore() Instance Public methods Restore session state from the session's PStore file. Returns the session state as a hash.

update

update() Instance Public methods Save session state to the session's PStore file.

new

new(request, option={}) Class Public methods Create a new CGI::Session object for request. request is an instance of the CGI class (see cgi.rb). option is a hash of options for initialising this CGI::Session instance. The following options are recognised: session_key the parameter name used for the session id. Defaults to '_session_id'. #session_id the session id to use. If not provided, then it is retrieved from the session_key parameter of the request, or automatically ge

[]

[](key) Instance Public methods Retrieve the session data for key key.

[]=

[]=(key, val) Instance Public methods Set the session data for key key.