Marcus Ramberg > Catalyst-Plugin-Session-FastMmap-0.10 > Catalyst::Plugin::Session::FastMmap

Download:
Catalyst-Plugin-Session-FastMmap-0.10.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.10   Source   Latest Release: Catalyst-Plugin-Session-FastMmap-0.13

NAME ^

Catalyst::Plugin::Session::FastMmap - FastMmap sessions for Catalyst

SYNOPSIS ^

    use Catalyst 'Session::FastMmap';
    
    MyApp->config->{session} = {
        expires => 3600,
        rewrite => 1,
        storage => '/tmp/session'
    };

    $c->session->{foo} = 'bar';
    print $c->sessionid;

DESCRIPTION ^

Fast sessions.

EXTENDED METHODS

finalize

prepare_action

setup

METHODS

session

uri

Extends an uri with session id if needed.

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

CONFIG OPTIONS

rewrite

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

storage

File to mmap for sharing of data, defaults to /tmp/session.

expires

how many seconds until the session expires. defaults to 1 day

SEE ALSO ^

Catalyst Cache::FastMmap.

AUTHOR ^

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.

syntax highlighting: