MojoX::Session::Store::Memcached - Memcached Store for MojoX::Session
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
MojoX::Session::Store::Memcached is a store for MojoX::Session that stores a session in a memcached daemon .
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.
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.
Harper, plcgi1 at gmail.com.
plcgi1 at gmail.com
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.
To install MojoX::Session::Store::Memcached, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MojoX::Session::Store::Memcached
CPAN shell
perl -MCPAN -e shell install MojoX::Session::Store::Memcached
For more information on module installation, please visit the detailed CPAN module installation guide.