Skip Menu |

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

Report information
The Basics
Id: 28027
Status: resolved
Priority: 0/
Queue: CGI-Session-Driver-pure_sql

Owner: MARKSTOS [...]
Requestors: MARKSTOS [...]

Bug Information
Severity: Important
Broken in: 0.62
Fixed in: 0.62

Subject: PATCH: fix when cookie is present but DB row is missing
Download (untitled) / with headers
text/plain 774b
The following patch fixes a bug when a cookie is present but the DB row is missing. I'll release it when I get chance. I should also look at using "prepare_cached", like the DBI driver does. diff -rN -u old-alphasite/perllib/CGI/Session/Driver/ new-alphasite/perllib/CGI/Session/Driver/ --- old-alphasite/perllib/CGI/Session/Driver/ 2007-07-06 18:21:50.000000000 -0400 +++ new-alphasite/perllib/CGI/Session/Driver/ 2007-07-06 18:21:50.000000000 -0400 @@ -106,7 +106,8 @@ return undef; } - + return 0 unless $data; + my $thawed_data = $SERIALIZER->thaw( $data ); unless ( defined $thawed_data ) { return $self->set_error( "couldn't freeze data: " . $SERIALIZER->errstr() );
Subject: also: add a note about clear()
From: MARKSTOS [...]
Download (untitled) / with headers
text/plain 100b
Also, add a note that the clear() method doesn't work with this driver, or try to fix that. Mark
Releasing today.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to