debian man page for plack::session

Query: plack::session

OS: debian

Section: 3pm

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

Plack::Session(3pm)					User Contributed Perl Documentation				       Plack::Session(3pm)

NAME
Plack::Session - Middleware for session management
SYNOPSIS
# Use with Middleware::Session enable "Session"; # later in your app use Plack::Session; my $app = sub { my $env = shift; my $session = Plack::Session->new($env); $session->id; $session->get($key); $session->set($key, $value); $session->remove($key); $session->keys; $session->expire; };
DESCRIPTION
This is the core session object, you probably want to look at Plack::Middleware::Session, unless you are writing your own session middleware component.
METHODS
new ( $env ) The constructor takes a PSGI request env hash reference. id This is the accessor for the session id. Session Data Management These methods allows you to read and write the session data like Perl's normal hash. get ( $key ) set ( $key, $value ) remove ( $key ) keys session, dump Session Lifecycle Management expire This method can be called to expire the current session id.
BUGS
All complex software has bugs lurking in it, and this module is no exception. If you find a bug please either email me, or add the bug to cpan-RT.
AUTHOR
Stevan Little <stevan.little@iinteractive.com>
COPYRIGHT AND LICENSE
Copyright 2009, 2010 Infinity Interactive, Inc. <http://www.iinteractive.com> This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.12.4 2011-03-29 Plack::Session(3pm)
Related Man Pages
apache::session::browseable::mysql(3pm) - debian
dancer::session(3pm) - debian
dancer::session::cookie(3pm) - debian
plack::component(3pm) - debian
plack::session::store::dbi(3pm) - debian
Similar Topics in the Unix Linux Community
Telnet session does not expire
Recording a UNIX Session
user session restriction
how to get the specified content of the text into a variable.
transponse row to coloumn output