poolboi has asked for the wisdom of the Perl Monks concerning the following question:
doesn't seem to detect an expired session even when my session has expired it always check that the session is empty even though my session actually expired so i'm not sure if anyoe using this module has experienced the same problems beforeif($session->is_expired) { print $cgi->header(-cache_control=>"no-cache, no-store, must-rev +alidate"); print "<p>Your has session expired. Please login again.<p></br>" +; print "<a href='http://localhost//cgi-bin//mml%20log//login.pl'> +Login</a>"; } elsif ($session->is_empty) { print $cgi->header(-cache_control=>"no-cache, no-store, must-rev +alidate"); print "You have not logged in"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: is_expired and is_empty doubt in CGI::Session
by Herkum (Parson) on Jun 02, 2008 at 04:38 UTC | |
|
Re: is_expired and is_empty doubt in CGI::Session
by Gangabass (Vicar) on Jun 02, 2008 at 04:46 UTC | |
|