Ricardo Signes > Rubric > Rubric::WebApp::Session

Download:
Rubric-0.144.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  8
Open  1
View Bugs
Report a bug
Module Version: 0.144   Source  

METHODS ^

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.

get_cookie_payload

This gets the cookie and returns the payload as a R::WA::Session::Object.

set_cookie_payload

This method writes the session data back out to a cookie entry.

SESSION OBJECT METHODS ^

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.