in reply to Expiring Cookies
You can achieve that with expires.
my $ck1 = new CGI::Cookie( -name => "time", -value => "some value", -expires => '+15m', );
update: Whenever you try to read the cookie and it is not present, then redirect to the login page.
|
|---|