FastMmap(3p)

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.