Prancer/Session/Store/Memory.pm

filter: Statementstmt 100% 17 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod n/a totaltotal 100% 22 / 22 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Prancer/Session/State/Cookie.pm ↑ Summary Prancer/Session/Store/Storable.pm »
1 package Prancer::Session::Store::Memory;
2  
3 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use warnings FATAL => 'all';
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 1 ▶use version;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 1 our $VERSION = '1.05';
8  
9 1 ▶use Plack::Session::Store;
Subroutine BEGIN: called CC=1 SCAR=0.0
10 1 ▶use parent qw(Plack::Session::Store);
Subroutine BEGIN: called CC=1 SCAR=0.0
11  
12 1 1;
13  
14 =head1 NAME
15  
16 Prancer::Session::Store::Memory
17  
18 =head1 SYNOPSIS
19  
20 This package implements a session handler where all sessions are kept in
21 memory. B<THIS SHOULD NOT BE USED IN PRODUCTION>. If the server restarts then
22 all of your users will be logged out. If you are using a multi-process server
23 like L<Starman> then your users will be logged out whenever they connect to a
24 different process or basically every time they connect. This should be used
25 strictly for testing.
26  
27 Though this will be the default session handler if none is configured, it can
28 be explicitly configured like this:
29  
30 session:
31 store:
32 driver: Prancer::Session::Store::Memory
33  
34 =cut
« Prancer/Session/State/Cookie.pm ↑ Summary Prancer/Session/Store/Storable.pm »