table of contents
Plack::Session::Store::Null(3pm) | User Contributed Perl Documentation | Plack::Session::Store::Null(3pm) |
NAME¶
Plack::Session::Store::Null - Null store
SYNOPSIS¶
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; };
DESCRIPTION¶
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.
BUGS¶
All complex software has bugs lurking in it, and this module is no exception. If you find a bug please either email me, or add the bug to cpan-RT.
AUTHOR¶
Stevan Little <stevan.little@iinteractive.com>
COPYRIGHT AND LICENSE¶
Copyright 2009, 2010 Infinity Interactive, Inc.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
2024-09-24 | perl v5.40.0 |