Dancer::Session::Memcache - Memcached-based session backend for Dancer
This module implements a session engine based on the Memcache API. Session are stored as memcache objects via a list of Memcached servers.
The setting session should be set to memcached in order to use this session engine in a Dancer application.
memcached
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).
memcached_servers
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"
This module depends on Cache::Memcached.
This module has been written by Alexis Sukrieh.
See Dancer::Session for details about session usage in route handlers.
This module is copyright (c) 2009-2010 Alexis Sukrieh <sukria@sukria.net>
This module is free software and is released under the same terms as Perl itself.
To install Dancer::Session::Memcached, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Dancer::Session::Memcached
CPAN shell
perl -MCPAN -e shell install Dancer::Session::Memcached
For more information on module installation, please visit the detailed CPAN module installation guide.