The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Rubric::WebApp::Session - the Rubric session plugin

VERSION

version 0.156

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.

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

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.

AUTHOR

Ricardo SIGNES <rjbs@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2004 by Ricardo SIGNES.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.