NAME

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

VERSION

version 0.157

PERL VERSION

This code is effectively abandonware. Although releases will sometimes be made to update contact info or to fix packaging flaws, bug reports will mostly be ignored. Feature requests are even more likely to be ignored. (If someone takes up maintenance of this code, they will presumably remove this notice.) This means that whatever version of perl is currently required is unlikely to change -- but also that it might change at any new maintainer's whim.

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@semiotic.systems>

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.