NAME

Catalyst::Plugin::Session::Flex - Apache::Flex sessions for Catalyst

SYNOPSIS

use Catalyst 'Session::Flex';

MyApp->config->{session} = { Store => 'File', Lock => 'Null', Generate => 'MD5', Serialize => 'Storable', };

DESCRIPTION

Session management using Apache::Session via Apache::Session::Flex

EXTENDED METHODS

finalize

prepare_action

clear

Clear the existing session from storage and create a new session.

session

Return the session as a hash reference. If a session id was found via a URL or cookie from the client it will be used to retrieve the data previously stored. If the previous session id was invalid or otherwise unretrievable, create a new session.

setup

METHODS

session

uri

Extends an uri with session id if needed.

my $uri = $c->uri('http://localhost/foo');

CONFIG OPTIONS

All of the options are inheritied from Apache::Session::Flex and various Apache::Session modules such as Apache::Session::File.

rewrite

To enable automatic storing of sessions in the url set this to a true value.

SEE ALSO

Catalyst Apache::Session Apache::Session::Flex

AUTHOR

Rusty Conover rconover@infogears.com

Based off of Catalyst::Plugin::Session::FastMmap by:

Sebastian Riedel, sri@cpan.org Marcus Ramberg mramberg@cpan.org

COPYRIGHT

This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself.