Plack::Session::Store::Null(3pm)

Plack::Session::Store::Null3pm

Null store

Usage

  use Plack::Builder;
  use Plack::Middleware::Session;
  use Plack::Session::Store::Null;
  my $app = sub {
      return [ 200, [ 'Content-Type' => 'text/plain' ], [ 'Hello Foo' ] ];
  };
  builder {
      enable 'Session',
          store => Plack::Session::Store::Null->new;
      $app;
  };

Overview

Sometimes you don't want to store anything in your sessions, but Plack::Session requires a "store" instance, so you can use this one and all methods will return null.

This is a subclass of Plack::Session::Store and implements its full interface.

Releases

7 releases since Debian 7 (Wheezy); the text changed 6 times.

  1. 7
  2. 8
  3. 9
  4. 10
  5. 11
  6. 12
  7. 13

Bugs

All complex software has bugs lurking in it, and this module is no exception. If you find a bug please either email me, or add the bug to cpan-RT.

Author

Stevan Little <[email protected]>

From libplack-middleware-session-perl 0.34-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.