1Plack::Session::Store::UNsuelrl(C3opnmt)ributed Perl DocPulmaecnkt:a:tSieosnsion::Store::Null(3pm)
2
3
4
6 Plack::Session::Store::Null - Null store
7
9 use Plack::Builder;
10 use Plack::Middleware::Session;
11 use Plack::Session::Store::Null;
12
13 my $app = sub {
14 return [ 200, [ 'Content-Type' => 'text/plain' ], [ 'Hello Foo' ] ];
15 };
16
17 builder {
18 enable 'Session',
19 store => Plack::Session::Store::Null->new;
20 $app;
21 };
22
24 Sometimes you don't want to store anything in your sessions, but
25 Plack::Session requires a "store" instance, so you can use this one and
26 all methods will return null.
27
28 This is a subclass of Plack::Session::Store and implements its full
29 interface.
30
32 All complex software has bugs lurking in it, and this module is no
33 exception. If you find a bug please either email me, or add the bug to
34 cpan-RT.
35
37 Stevan Little <stevan.little@iinteractive.com>
38
40 Copyright 2009, 2010 Infinity Interactive, Inc.
41
42 <http://www.iinteractive.com>
43
44 This library is free software; you can redistribute it and/or modify it
45 under the same terms as Perl itself.
46
47
48
49perl v5.32.0 2020-07-28 Plack::Session::Store::Null(3pm)