The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Catalyst::Plugin::Session::Store::MongoDB - MongoDB Session store for Catalyst

SYNOPSIS

    use Catalyst qw/
        Session
        Session::Store::MongoDB
        Session::State::Foo
    /;
    
    MyApp->config->{Plugin::Session} = {
        expires => 3600,
        mongodb_server => '127.0.0.1:6379',
        mongodb_debug => 0 # or 1!
    };

    # ... in an action:
    $c->session->{foo} = 'bar'; # will be saved

DESCRIPTION

Catalyst::Plugin::Session::Store::MongoDB is a session storage plugin for Catalyst that uses MongoDB (http://www.mongodb.org).

NOTES

Expired Sessions

This store automatically expires sessions when they expire.

WARNING

This module is currently untested, outside of the unit tests it ships with. It will eventually be used with a busy site, but is currently unproven. Patches are welcome!

AUTHOR

Cory G Watson, <gphat at cpan.org>

COPYRIGHT & LICENSE

Copyright 2010 Cory G Watson

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.