Man pages sections > man3 > Apache::Session::Memcached

Apache::Session::Memcached - Stores persistent data using memcached (memory

Apache::Session::Memcached(3pm) User Contributed Perl Documentation Apache::Session::Memcached(3pm)


Apache::Session::Memcached - Stores persistent data using memcached (memory cache daemon) for Apache::Session storage


   use Apache::Session::Memcached;
   tie %session, 'Apache::Session::Memcached', $sid, {
      Servers => '',
      NoRehash => 1,
      Readonly => 0,
      Debug => 1,
      CompressThreshold => 10_000


Apache::Session::Memcached is a bridge between Apache::Session and memcached, a distributed memory cache daemon.
More information about memcached is available at <>.
This module provides a way to use Cache::Memcached (memcached Perl API) as Apache::Session storage implementation.


In order to install and use this package you will need Perl version 5.005 or better.
Apache::Session >= 1.54
Cache::Memcached >= 1.14
Installation as usual:
   %> perl Makefile.PL
   %> make
   %> make test
   %> make install
Note: for live tests, you must run at least a memcached daemon and you could need to edit t/CONFIG file, in order to set correct parameters used for testing.


Apache::Session::Store::Memcached, Apache::Session, Apache::Session::Flex, Cache::Memcached, memcached.


Enrico Sorcinelli <enrico at sorcinelli> Copyright (C) 2004 by Enrico Sorcinelli
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.1 or, at your option, any later version of Perl 5 you may have available.
2015-02-16 perl v5.20.1