Plack::Session::Store::Null3pm
Null store
Usage
use Plack::Builder;use Plack::Middleware::Session;use Plack::Session::Store::Null;my $app = sub {return [ 200, [ 'Content-Type' => 'text/plain' ], [ 'Hello Foo' ] ];};builder {enable 'Session',store => Plack::Session::Store::Null->new;$app;};
Overview
Sometimes you don't want to store anything in your sessions, but Plack::Session requires a "store" instance, so you can use this one and all methods will return null.
This is a subclass of Plack::Session::Store and implements its full interface.
Copyright and license
Copyright 2009, 2010 Infinity Interactive, Inc.
<http://www.iinteractive.com>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Releases
7 releases since Debian 7 (Wheezy); the text changed 6 times.