line |
true |
false |
branch |
23
|
1 |
0 |
if ($self->session_store and not 'Mojolicious::Controller'->can('session_options')) |
39
|
0 |
15 |
unless $self->session_store |
44
|
3 |
12 |
unless ($session_id and $session) |
48
|
3 |
12 |
unless $session |
52
|
0 |
12 |
if not my $expires = delete $$session{'expires'} and $expiration |
53
|
0 |
12 |
if defined $expires and $expires <= time |
55
|
0 |
12 |
unless $$stash{'mojo.active_session'} = keys %$session |
57
|
1 |
11 |
if $$session{'new_flash'} |
63
|
0 |
15 |
unless $self->session_store |
67
|
0 |
15 |
unless my $session = $$stash{'mojo.session'} |
68
|
0 |
15 |
unless keys %$session or $$stash{'mojo.active_session'} |
72
|
0 |
15 |
if $$stash{'mojo.static'} |
74
|
14 |
1 |
unless keys %{$$session{'new_flash'};} |
79
|
15 |
0 |
if $expiration or $default |
82
|
15 |
0 |
unless $c->session_options->{'no_store'} |
106
|
3 |
12 |
unless my $session_id = $c->signed_cookie($self->cookie_name) |
107
|
0 |
12 |
unless my $session = $self->session_store->fetch($session_id) |
115
|
2 |
13 |
if ($c->session_options->{'expire'} or defined $$session{'expires'} and $$session{'expires'} <= time) { } |
|
4 |
9 |
elsif ($c->session_options->{'change_id'}) { } |