1CGI::Session::Driver::mUesmecracChoendt(r3i)buted Perl DCoGcIu:m:eSnetsastiioonn::Driver::memcached(3)
2
3
4
6 CGI::Session::Driver::memcached - CGI::Session driver for memcached
7
9 use strict;
10 use warnings;
11 use Cache::Memcached; # or Cache::Memcached::Fast
12
13 my $memcached = Cache::Memcached->new({
14 servers => [ 'localhost:11211' ],
15 debug => 0,
16 compress_threshold => 10_000,
17 });
18 my $session = CGI::Session->new( "driver:memcached", $sid, { Memcached => $memcached } );
19
21 memcached stores session data into memcached.
22
24 The only supported driver argument is 'Memcached'. It's an instance of
25 Cache::Memcached.
26
28 CGI::Session
29 Cache::Memcached or Cache::Memcached::Fast
30
32 Implement traverse method!
33 But I don't know how to get all objects store in memcached.
34
36 Kazuhiro Oinuma <oinume@cpan.org>
37
39 git clone git://github.com/oinume/p5-cgi-session-driver-memcached
40
42 Copyright (C) 2005 - 2009 Kazuhiro Oinuma <oinume@cpan.org>. All rights
43 reserved. This library is free software. You can modify and or
44 distribute it under the same terms as Perl itself.
45
46
47
48perl v5.36.0 2022-07-22CGI::Session::Driver::memcached(3)