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

Dancer::Session::Memcached - Memcached-based session backend for Dancer

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> 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.
2015-06-01 perl v5.20.2