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

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

People
Owner:
MARKSTOS [...] cpan.org
Requestors:
r.k [...] live.ru
Cc:
AdminCc:

BugTracker
Severity:
Important
Broken in:
(no value)
Fixed in:
(no value)



Subject: remove() function in CGI::Session::Driver::DBI
remove() function of CGI::Session::Driver::DBI don't use IdColName, so if you set IdColName diffrent from 'id', on session delete - error occur. my $rc = $self->{Handle}->do( 'DELETE FROM '. $self->table_name .' WHERE id =?',{},$sid );
On Tue May 27 21:16:02 2008, rkv wrote:
Show quoted text
> remove() function of CGI::Session::Driver::DBI don't use IdColName, so > if you set IdColName diffrent from 'id', on session delete - error occur. > > my $rc = $self->{Handle}->do( 'DELETE FROM '. $self->table_name .' WHERE > id =?',{},$sid );
This was fixed some time ago, apparently. The code in 4.37 looks like this: my $rc = $self->{Handle}->do( 'DELETE FROM ' . $self->table_name . " WHERE $self->{IdColName}= ?", {}, $sid ) Mark


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.