NAME

Catalyst::Plugin::Session::Store::Memcached - Memcached session storage backend.

SYNOPSIS

use Catalyst qw/Session Session::Store::Memcached Session::State::Foo/;

MyApp->config->{session} = {
    expires => 3600,
    servers => '127.0.0.1:11210',
};

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

DESCRIPTION

Catalyst::Plugin::Session::Store::Memcached is a fast session storage plugin for Catalyst that uses memcached cache. It is based on Cache::Memcached::Fast.

METHODS

get_session_data
store_session_data
delete_session_data
delete_expired_sessions

These are implementations of the required methods for a store. See Catalyst::Plugin::Session::Store.

get_and_set_session_data

This is the optional method for atomic write semantics. See Catalyst::Plugin::Session::AtomicWrite.

setup_session

Sets up the session connection.

CAVEATS

CONFIGURATION

SEE ALSO

Catalyst, Catalyst::Plugin::Session, Cache::Memcached::Fast.

AUTHORS

Denis Arapov, bwizard@blackwizard.pp.ru

COPYRIGHT

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