++ed by:

1 non-PAUSE user.

Alex

NAME

MojoX::Session::Store::Memcached - Memcached Store for MojoX::Session

SYNOPSIS

    my $session = MojoX::Session->new(
        tx        => $tx,
        # all params as for Cache::Memcached
        store     => MojoX::Session::Store::Memcached->new({
            servers => [127.0.0.1:11211]
        }),
        transport => MojoX::Session::Transport::Cookie->new,
        ip_match  => 1
    );

    # see doc for MojoX::Session

DESCRIPTION

MojoX::Session::Store::Memcached is a store for MojoX::Session that stores a session in a memcached daemon .

ATTRIBUTES

MojoX::Session::Store::Memcached implements the following attributes.

memcached_connector

    my $memcached_connector = $store->memcached_connector;
    $store  = $store->memcached_connector($memcached_connector);

Get and set memcached handler.

METHODS

MojoX::Session::Store::Memcached inherits all methods from MojoX::Session::Store.

create

Insert session to memcached.

update

Update session in memcached.

load

Load session from memcached.

delete

Delete session from memcached.

AUTHOR

Harper, plcgi1 at gmail.com.

COPYRIGHT

Copyright (C) 2009, Harper.

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