cgi::session::driver::memcached(3pm) [debian man page]
CGI::Session::Driver::memcached(3pm) User Contributed Perl Documentation CGI::Session::Driver::memcached(3pm)NAME
CGI::Session::Driver::memcached - CGI::Session driver for memcached
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 <oinume@cpan.org>
REPOSITORY
git clone git://github.com/oinume/p5-cgi-session-driver-memcached
COPYRIGHT AND LICENSE
Copyright (C) 2005 - 2009 Kazuhiro Oinuma <oinume@cpan.org>. All rights reserved. This library is free software. You can modify and or
distribute it under the same terms as Perl itself.
perl v5.10.1 2009-09-11 CGI::Session::Driver::memcached(3pm)
Check Out this Related Man Page
Dancer::Session::Memcached(3pm) User Contributed Perl Documentation Dancer::Session::Memcached(3pm)NAME
Dancer::Session::Memcached - Memcached-based session backend for Dancer
VERSION
version 0.202
DESCRIPTION
This module implements a session engine based on the Memcache API. Session are stored as memcache objects via a list of Memcached servers.
CONFIGURATION
The setting session should be set to "memcached" in order to use this session engine in a Dancer application.
A mandatory setting is needed as well: "memcached_servers", which should contain a comma-separated list of reachable memecached servers
(can be either address:port or sockets).
Here is an example configuration that uses this session engine
session: "memcached"
memcached_servers: "10.0.1.31:11211,10.0.1.32:11211,10.0.1.33:11211,/var/sock/memcached"
DEPENDENCY
This module depends on Cache::Memcached.
SEE ALSO
See Dancer::Session for details about session usage in route handlers.
AUTHOR
Alexis Sukrieh <surkia@sukria.net>
COPYRIGHT AND LICENSE
This software is copyright (c) 2011 by Alexis Sukrieh.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
perl v5.12.4 2011-10-21 Dancer::Session::Memcached(3pm)
Folks;
I just installed Apache2.2.6 on Solaris 10 & when i try to start it, i got this message in the error.log file:
Init: Session Cache is not configured
Any help?
Thanks in advance (2 Replies)