Catalyst::Plugin::Session::State::PSGI
version 0.0.2
use Catalyst qw/ Session Session::State::PSGI Session::Store::PSGI /;
An alternative session state plugin that allows session-id retrieval from the PSGI/Plack session information.
This distribution should be considered experimental. Although functional, it may break in currently undiscovered use cases.
The plugin provides the following methods:
This method may not be required. It's almost a NOOP and may be removed in a future release.
This method retrieves the session-id from the PSGI/Plack environment information.
This methis returns the time, in epoch seconds, when the session expires.
NOTE: This is a small hack that just returns a time far enough into the future for the session not to expire every time you attempt to access it. Actual expiry should be handled by Plack::Middleware::Session.
NOOP - unsupported
Catalyst::Plugin::Session::PSGI,
1; # ABSTRACT: Session plugin for access to PSGI/Plack session __END__ # vim: ts=8 sts=4 et sw=4 sr sta
Chisel <chisel@chizography.net>
This software is copyright (c) 2011 by Chisel Wright.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Catalyst::Plugin::Session::PSGI, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Catalyst::Plugin::Session::PSGI
CPAN shell
perl -MCPAN -e shell install Catalyst::Plugin::Session::PSGI
For more information on module installation, please visit the detailed CPAN module installation guide.