Chisel

NAME

Catalyst::Plugin::Session::State::PSGI

VERSION

version 0.0.2

SYNOPSIS

    use Catalyst qw/
        Session
        Session::State::PSGI
        Session::Store::PSGI
    /;

DESCRIPTION

An alternative session state plugin that allows session-id retrieval from the PSGI/Plack session information.

EXPERIMENTAL

This distribution should be considered experimental. Although functional, it may break in currently undiscovered use cases.

METHODS

The plugin provides the following methods:

prepare_action

This method may not be required. It's almost a NOOP and may be removed in a future release.

get_session_id

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.

set_session_id

NOOP - unsupported

set_session_expires

NOOP - unsupported

delete_session_id

NOOP - unsupported

SEE ALSO

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

AUTHOR

Chisel <chisel@chizography.net>

COPYRIGHT AND LICENSE

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.