Plack::Session::Store::Redis - Redis session store
use Plack::Builder; use Plack::Session::Store::Redis; my $app = sub { return [ 200, [ 'Content-Type' => 'text/plain' ], [ 'Hello Foo' ] ]; }; builder { enable 'Session', store => Plack::Session::Store::Redis->new; $app; };
This will persist session data using Redis::Fast or Redis.
This is a subclass of Plack::Session::Store and implements its full interface.
A simple accessor for the Redis handle.
All complex software has bugs lurking in it, and this module is no exception. If you find a bug please fill in GitHub issues.
Akzhan Abdulin <akzhan.abdulin@gmail.com>
Copyright 2017- Akzhan Abdulin
MIT License
To install Plack::Session::Store::Redis, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Plack::Session::Store::Redis
CPAN shell
perl -MCPAN -e shell install Plack::Session::Store::Redis
For more information on module installation, please visit the detailed CPAN module installation guide.