This queue is for tickets about the CGI-Session CPAN distribution.

Report information
The Basics
Id:
1461
Status:
resolved
Priority:
Low/Low
Queue:

People
Owner:
Nobody in particular
Requestors:
dragon [...] shadnet.shad.ca
Cc:
AdminCc:

BugTracker
Severity:
Normal
Broken in:
2.92
Fixed in:
(no value)

Attachments


Subject: session expire time doesn't get set with no session parameter
Dist: CGI::Session v2.92 OS: Linux trinity 2.4.19 #2 Tue Aug 6 08:15:35 EDT 2002 i686 Debian GNU/Linux unstable Perl: 5.6.1 CGI::Session will not set the expires() time if no parameters are set in the session. It seems to be the case for both the OO interface and the TIE interface. I have also been able to reproduce it with the File and MySQL drivers. I haven't tried the DB_File and BerkleyDB drivers but from the tests it looks more like a bug in CGI::Session and not in the drivers.
From: Olivier <dragon@shadnet.shad.ca>
Found the bug. Patch attached. Just wasn't calling the store() procedure after setting the expires() time. Fixes both OO and TIE interface. Still have problems with autoload (but that might just be my incompetence).

Message body not shown because it is not plain text.



This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.