Ricardo SIGNES > Rubric-0.155 > Rubric::WebApp::Session

Download:
Rubric-0.155.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.155   Source  

NAME ^

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

VERSION ^

version 0.155

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.

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.

syntax highlighting: