Skip Menu |

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

Report information
The Basics
Id: 18167
Status: open
Priority: 0/
Queue: CGI-Session-ODBC

People
Owner: Nobody in particular
Requestors: drmatthias [...] web.de
Cc:
AdminCc:

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



Subject: What about CGI::Session::Driver::ODBC ?
Bug? I installed ActiveState-Perl 5.8.8.816 (Windows) with the following Modules: DBI (1.50), DBD::ODBC (1.13), CGI (2.91), CGI-Session (4.02), CGI- Session-ODBC (0.1), [...] The same script, that worked fine the old version, has now an error: new(): failed: couldn't load CGI::Session::Driver::odbc: Can't locate CGI/Session/Driver/odbc.pm in @INC (@INC contains: C:/Perl/lib C:/Perl/ site/lib .) at (eval 34) line 3. Perlscript: use DBI; use CGI::Session; [...] $session = new CGI::Session('driver:ODBC', undef,{ Handle=>$dbh, TableName=>'sessions' }) or die CGI::Session->errstr; [...] In the ActiveState repository are actually no newer versions available. Mat
RT-Send-CC: perl [...] cromedome.net
On Tue Mar 14 10:47:23 2006, guest wrote: Show quoted text
> Bug? > > I installed ActiveState-Perl 5.8.8.816 (Windows) > with the following Modules: > DBI (1.50), DBD::ODBC (1.13), CGI (2.91), CGI-Session (4.02), CGI- > Session-ODBC (0.1), [...] > > The same script, that worked fine the old version, has now an error: > > new(): failed: couldn't load CGI::Session::Driver::odbc: Can't locate > CGI/Session/Driver/odbc.pm in @INC (@INC contains: C:/Perl/lib C:/Perl/ > site/lib .) at (eval 34) line 3. > > Perlscript: > use DBI; > use CGI::Session; > [...] > $session = new CGI::Session('driver:ODBC', undef,{ Handle=>$dbh, > TableName=>'sessions' }) or die CGI::Session->errstr; > [...] > > In the ActiveState repository are actually no newer versions available.
As is documented in CGI::Session, a new driver API is used with 4.x, and CGI::Session::ODBC has not been updated to use it. I'm moving this bug to the CGI::Session::ODBC queue, because it is not part of the core distribution. I'm CC'ing the author, in case he wants to release a new compatible version. As the reporter, you are also encouraged to read about the difference driver API and submit a patch for the necessary updates yourself. Mark