logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Author

       Enrico Sorcinelli <enrico at sorcinelli>

Description

       Apache::Session::Memcached is a bridge between Apache::Session and memcached, a distributed memory cache
       daemon.

       More information about memcached is available at <http://www.danga.com/memcached>.

       This module provides a way to use Cache::Memcached (memcached Perl API) as Apache::Session storage
       implementation.

Installation

       In order to install and use this package you will need Perl version 5.005 or better.

       Prerequisites:

       •   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.

Name

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

See Also

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

Synopsis

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

See Also