NAME
Apache::Session::libmemcached - An implementation of Apache::Session using Memcached::libmemcache
VERSION
Version 0.01
SYNOPSIS
use Apache::Session::libmemcache
tie %hash, 'Apache::Session::libmemcache', $id, {
servers => ['1.2.3.4:2100', '4.3.2.1:2100'],
expiration => 300, # In seconds
log_errors => 1,
}
# to enable a simple load balancing feature
# and/or fail over
tie %hash, 'Apache::Session::libmemcache', $id, {
load_balance => [
['1.2.3.4:2100', '4.3.2.1:2100'],
['1.1.1.1:2100', '2.2.2.2:2100'],
],
failover => 1,
expiration => 300, # In seconds
log_errors => 1,
}
DESCRIPTION
This module is an implementation of Apache::Session. It uses the fast Memcached::libmemcached module to store sessions in memcached. See the example, and the documentation for Apache::Session::libmemcached for more details.
METHODS
populate
Populate necessary object references and subroutine references.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc Apache::Session::libmemcached
AUTHOR
Javier Uruen Val <javi.uruen@gmail.com>
LICENSE AND COPYRIGHT
Copyright (C) 2010 Venda Ltd
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.8 or, at your option, any later version of Perl 5 you may have available.