SYNOPSIS

    use strict;
    use warnings;
    use Cache::Memcached; # or Cache::Memcached::Fast

    my $memcached = Cache::Memcached->new({
        servers => [ 'localhost:11211' ],
        debug   => 0,
        compress_threshold => 10_000,
    });
    my $session = CGI::Session->new( "driver:memcached", $sid, { Memcached => $memcached } );

DESCRIPTION

memcached stores session data into memcached.

DRIVER ARGUMENTS

The only supported driver argument is 'Memcached'. It's an instance of Cache::Memcached.

REQUIREMENTS

CGI::Session
Cache::Memcached or Cache::Memcached::Fast

TODO

Implement traverse method!

But I don't know how to get all objects store in memcached.

AUTHOR

Kazuhiro Oinuma <[email protected]>

REPOSITORY

git clone git://github.com/oinume/p5-cgi-session-driver-memcached

COPYRIGHT AND LICENSE

Copyright (C) 2005 - 2009 Kazuhiro Oinuma <[email protected]>. All rights reserved. This library is free software. You can modify and or distribute it under the same terms as Perl itself.