Plack::Session::Store::Null(3) 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 <[email protected]>

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.