Dancer-Session-Redis

Redis backend for Dancer Session Engine.

Build Status

INSTALLATION

To install this module type the following:

perl Makefile.PL
make
make test
make install

SYNOPSYS

# in the Dancer config.yml:
session: 'Redis'
redis_session:
    server: 'redi.example.com:6379'
    password: 'QmG_kZECJAvAcDaWqqSqoNLUka5v3unMe_8sqYMh6ST'
    database: 1
    expire: 3600
    debug: 0
    ping: 5

# or in the Dancer application:
setting session       => 'Redis';
setting redis_session => {
    server   => 'redi.example.com:6379',
    password => 'QmG_kZECJAvAcDaWqqSqoNLUka5v3unMe_8sqYMh6ST',
    database => 1,
    expire   => 3600,
    debug    => 0,
    ping     => 5,
};

DESCRIPTION

This module is a Redis backend for the session engine of Dancer application. This module is a descendant of Dancer::Session

CONFIGURATION

In order to use this session engine, you have to set up a few settings (in the app or app's configuration file).

SEE ALSO

Dancer

Dancer::Session

Storable

Redis

http://redis.io

Copyright (C) 2012 by Anton Gerasimov

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.