Rubric::WebApp::Session - Rubric::WebApp::Session documentation


Rubric documentation  | view source Contained in the Rubric distribution.

Index


METHODS

Top

These methods are imported into the using class and should be called on an object of that type -- here, a Rubric::WebApp.

session

This returns the session, a hashref.

session_cipherer

This returns a Crypt::CBC object for handling ciphering.

SESSION OBJECT METHODS

Top

new

This makes a new session object. You don't need this.

param

  $obj->param('foo');        # get
  $obj->param('foo', 'val'); # set

clear

  $obj->clear('name');

Clear the entry (delete it entirely) from the session.

delete

  $session->delete;

Removes all data from the session.

as_hash

This returns a hashref containing the session data.


Rubric documentation  | view source Contained in the Rubric distribution.