| line |
true |
false |
branch |
|
42
|
0 |
28 |
if ($$self{'state_db'} = &config($self, 'StateDB')) |
|
44
|
0 |
0 |
unless $Apache::ASP::State::DB{$$self{'state_db'}} |
|
52
|
0 |
28 |
if ($$self{'state_serializer'} = &config($self, 'StateSerializer')) |
|
59
|
0 |
28 |
unless tie %Internal, 'Apache::ASP::State', $self, 'internal', 'server' |
|
62
|
0 |
28 |
if $$self{'state_serialize'} |
|
66
|
28 |
0 |
if ($$self{'app_state'}) { } |
|
70
|
0 |
28 |
unless $$self{'Application'} = &Apache::ASP::Application::new($self) |
|
72
|
0 |
28 |
if $$self{'state_serialize'} |
|
75
|
0 |
0 |
if $$self{'dbg'} |
|
80
|
28 |
0 |
if ($$self{'session_state'}) { } |
|
112
|
0 |
28 |
if $$self{'state_serialize'} |
|
115
|
0 |
0 |
if $$self{'dbg'} |
|
123
|
28 |
0 |
if ($session) |
|
125
|
28 |
0 |
if ($session->Started) |
|
127
|
28 |
0 |
if ($$self{'app_state'}) |
|
129
|
1 |
27 |
if (($last_session_timeout = $$internal{'LastSessionTimeout'} || 0) < time) |
|
134
|
1 |
0 |
if ($self->CleanupGroups('PURGE')) |
|
135
|
0 |
1 |
if $last_session_timeout |
|
145
|
28 |
0 |
if ($$self{'app_state'}) |
|
150
|
4 |
24 |
if ($last_session_timeout < $$self{'session_timeout'} + time + (rand()) * $$self{'group_refresh'} / 2) |
|
153
|
0 |
4 |
if $$self{'dbg'} |
|
173
|
0 |
74 |
unless $$self{'Session'} |
|
180
|
0 |
74 |
unless ($group_id) |
|
186
|
0 |
74 |
unless $group_id |
|
193
|
0 |
74 |
unless ($force or $group_check < time) |
|
213
|
0 |
74 |
if $$asp{'dbg'} |
|
217
|
0 |
74 |
if $$asp{'dbg'} |
|
233
|
0 |
57 |
unless (ref $idata and ref $idata eq 'HASH') |
|
239
|
0 |
57 |
unless ($timeout) |
|
251
|
42 |
15 |
unless ($timeout < time) |
|
252
|
0 |
42 |
if $$asp{'dbg'} |
|
262
|
0 |
15 |
if $$asp{'dbg'} |
|
277
|
15 |
0 |
if (my $count = $member_state->Delete) { } |
|
278
|
0 |
15 |
if $$asp{'dbg'} |
|
290
|
0 |
57 |
if ($@) |
|
303
|
43 |
31 |
if ($deleted == @$ids) |
|
304
|
0 |
43 |
unless ($state->GroupId =~ /^[0]/) |
|
307
|
0 |
0 |
if (@{$ids;} == 0) |
|
321
|
0 |
34 |
unless $$self{'Session'} |
|
328
|
0 |
34 |
if $$self{'dbg'} and $force |
|
335
|
17 |
17 |
if ($force or ($Apache::ASP::CleanupGroups{$state_dir} || 0) < time) |
|
339
|
1 |
16 |
if $$self{'dbg'} |
|
340
|
8 |
9 |
if ($self->CleanupMaster) |
|
342
|
8 |
0 |
if ($force or $$internal{'CleanupGroups'} < time - $$self{'group_refresh'} / 8) |
|
349
|
26 |
8 |
unless $cleanup |
|
357
|
0 |
8 |
if $$self{'dbg'} |
|
363
|
0 |
74 |
if ($start_cleanup > time) |
|
371
|
0 |
0 |
unless $self->CleanupMaster |
|
375
|
0 |
8 |
if $$self{'dbg'} |
|
378
|
7 |
1 |
unless $sum_deleted |
|
393
|
4 |
13 |
$$master{'ServerID'} eq $Apache::ASP::ServerID && $$master{'PID'} eq $$ ? : |
|
394
|
1 |
16 |
if $$self{'dbg'} |
|
395
|
4 |
13 |
$is_master ? : |
|
399
|
4 |
13 |
if ($stale_time < time) { } |
|
|
4 |
9 |
elsif ($is_master) { } |
|
407
|
0 |
4 |
if $$self{'dbg'} |
|
413
|
0 |
4 |
if (not $^O =~ /Win/ and $ENV{'MOD_PERL'} and $$self{'DESTROY'}) |
|
419
|
4 |
0 |
$$master{'ServerID'} eq $Apache::ASP::ServerID && $$master{'PID'} eq $$ ? : |
|
420
|
0 |
4 |
if $$self{'dbg'} |
|
426
|
0 |
4 |
if $$self{'dbg'} |
|
430
|
1 |
8 |
if $$self{'dbg'} |
|
439
|
30 |
28 |
if (defined $id) { } |
|
440
|
30 |
0 |
unless ($$self{'session_url_force'}) |
|
442
|
1 |
29 |
$$self{'secure_session'} ? : |
|
443
|
1 |
29 |
$$self{'cookie_domain'} ? : |
|
451
|
0 |
28 |
if $$self{'session_id'} |
|
455
|
28 |
0 |
unless ($$self{'session_url_force'}) |
|
461
|
0 |
0 |
if ($name eq $Apache::ASP::SessionCookieName) |
|
464
|
0 |
0 |
if $$self{'dbg'} |
|
471
|
16 |
12 |
if (not defined $id and $$self{'session_url'}) |
|
475
|
0 |
16 |
if ref($id) =~ /ARRAY/ |
|
476
|
0 |
16 |
if $id and $$self{'dbg'} |
|
481
|
2 |
26 |
if (defined $id) |
|
482
|
2 |
0 |
if ($id =~ /^[0-9a-z]{8,32}$/s) { } |
|
491
|
2 |
26 |
if ($session_from_url and defined $id) |
|
495
|
2 |
26 |
if (defined $id) |
|
520
|
0 |
28 |
unless $id |
|
525
|
28 |
0 |
$reset ? : |
|
530
|
1 |
27 |
if $$self{'dbg'} |