Subject: | Can not cancel expiration date for individual parameters |
When setting the expiration time on the whole session, a value of 0 will disable session expiration.
When setting the expiration time on an individual parameter, a value of 0 will expire the parameter immediately.
I think the behaviour should be the same in both cases, and that behaviour should be to disable expiration.
From looking quickly at the code, it would seem that "sub _expire_params" should be something like
while ( my ($param, $etime) = each %{$exp_list} ) {
if ( time() >= ($self->atime() + $etime) ) {
push @trash_can, $param;
}
}
I am using....
perl -v:
"This is perl, v5.8.0 built for powerpc-linux-thread-multi"
uname -a:
Linux ssspc33 2.4.20-ben10 #1 Mon Sep 29 18:42:01 EST 2003 ppc unknown unknown GNU/Linux
Debian unstable, package is:
libcgi-session-perl 3.94-1