Plack::Session::Store::Redis - Redis based session store for Plack apps.
Version 0.01
use Plack::Builder; use Plack::Middleware::Session; use Plack::Session::Store::Redis; my $app = sub { ... }; builder { enable 'Session', store => 'Redis'; $app; };
This module will store Plack session data on a redis server.
Create a instance of this module. No parameters are required, but there are a few defaults that can be changed. You can set the IP address of the server with the 'host' option, and the port with 'port'. By default all of the keys in Redis will be prefixed with "session", but this can be changed with the 'prefix' option. You can also provide an 'expire' option that will be used to set an expiration on the redis key.
Fetches a session object from the database.
Stores a session object in the database.
Removes the session object from the database.
Lee Aylward, <leedo at cpan.org>
<leedo at cpan.org>
Please report any bugs or feature requests to bug-plack-session-store-redis at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Plack-Session-Store-Redis. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-plack-session-store-redis at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc Plack::Session::Store::Redis
You can also look for information at:
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Plack-Session-Store-Redis
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Plack-Session-Store-Redis
CPAN Ratings
http://cpanratings.perl.org/d/Plack-Session-Store-Redis
Search CPAN
http://search.cpan.org/dist/Plack-Session-Store-Redis/
Copyright 2010 Lee Aylward.
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.
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.