Plack::Session::Store::Echo - Echo store for Plack::Middleware::Session
use Plack::Builder; my $app = sub { return [200, ['Content-Type' => 'text/plain'], ['Hello!']]; }; builder { enable 'Session', state => 'Cookie', store => 'Echo'; $app; };
Sometimes you want only mark new client with cookie and don't want to store something in your sessions, so you can use this one. For any session identifier this store tells that the session exists.
This is a subclass of Plack::Session::Store and implements its full interface.
Plack::Middleware::Session.
Repository
http://github.com/dionys/plack-session-store-echo
Bug tracker
http://github.com/dionys/plack-session-store-echo/issues
Denis Ibaev dionys@cpan.org.
dionys@cpan.org
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
See http://dev.perl.org/licenses/ for more information.
To install Plack::Session::Store::Echo, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Plack::Session::Store::Echo
CPAN shell
perl -MCPAN -e shell install Plack::Session::Store::Echo
For more information on module installation, please visit the detailed CPAN module installation guide.