Catalyst::Plugin::Session::FastMmap - FastMmap sessions for Catalyst |
Catalyst::Plugin::Session::FastMmap - FastMmap sessions for Catalyst
use Catalyst 'Session::FastMmap'; MyApp->config->{session} = { expires => 3600, rewrite => 1, storage => '/tmp/session' };
$c->session->{foo} = 'bar'; print $c->sessionid;
Fast sessions.
Extends an uri with session id if needed.
my $uri = $c->uri('http://localhost/foo');
To enable automatic storing of sessions in the url set this to a true value.
File to mmap for sharing of data, defaults to /tmp/session.
how many seconds until the session expires. defaults to 1 day
Catalyst the Cache::FastMmap manpage.
Sebastian Riedel, sri@cpan.org
Marcus Ramberg mramberg@cpan.org
This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself.
Catalyst::Plugin::Session::FastMmap - FastMmap sessions for Catalyst |