1 package Plack::Session::Store::Null;
6 our $AUTHORITY = 'cpan:STEVAN';
8 sub new { bless {} => shift }
21 Plack::Session::Store::Null - Null store
26 use Plack::Middleware::Session;
27 use Plack::Session::Store::Null;
30 return [ 200, [ 'Content-Type' => 'text/plain' ], [ 'Hello Foo' ] ];
35 store => Plack::Session::Store::Null->new;
41 Sometimes you don't want to store anything in your sessions, but
42 L<Plack::Session> requires a C<store> instance, so you can use this
43 one and all methods will return null.
45 This is a subclass of L<Plack::Session::Store> and implements
50 All complex software has bugs lurking in it, and this module is no
51 exception. If you find a bug please either email me, or add the bug
56 Stevan Little E<lt>stevan.little@iinteractive.comE<gt>
58 =head1 COPYRIGHT AND LICENSE
60 Copyright 2009, 2010 Infinity Interactive, Inc.
62 L<http://www.iinteractive.com>
64 This library is free software; you can redistribute it and/or modify
65 it under the same terms as Perl itself.