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