1 package Plack::Session::Store::Null;
5 sub new { bless {} => shift }
20 Plack::Session::Store::Null - Null store
25 use Plack::Middleware::Session;
26 use Plack::Session::Store::Null;
29 return [ 200, [ 'Content-Type' => 'text/plain' ], [ 'Hello Foo' ] ];
34 store => Plack::Session::Store::Null->new;
40 Sometimes you don't want to store anything in your sessions, but
41 L<Plack::Session> requires a C<store> instance, so you can use this
42 one and all methods will return null.
44 This is a subclass of L<Plack::Session::Store> and implements
49 All complex software has bugs lurking in it, and this module is no
50 exception. If you find a bug please either email me, or add the bug
55 Stevan Little E<lt>stevan.little@iinteractive.comE<gt>
57 =head1 COPYRIGHT AND LICENSE
59 Copyright 2009 Infinity Interactive, Inc.
61 L<http://www.iinteractive.com>
63 This library is free software; you can redistribute it and/or modify
64 it under the same terms as Perl itself.