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