Skip Menu |
 

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

Report information
The Basics
Id: 36235
Status: resolved
Priority: 0/
Queue: CGI-Session

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

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: (no value)



Subject: remove() function in CGI::Session::Driver::DBI
Download (untitled) / with headers
text/plain 237b
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 );
Download (untitled) / with headers
text/plain 484b
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 is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

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