Subject: | Can't locate errstr via package "CGI::Session::Serialize::storable" |
Hello,
I am moving from Apache::Session to CGI::Session because of
CGI::Session's ability to automatically start a new instance if an id to
an expired one is passed, as well as the ability to change the
serializer. I am using a wrapper class, passing in the session id to
the contructor, using the new method to load the session, as follows:
my $session = CGI::Session->new(
"driver:mysql;serializer:storable",
$sid, #passed into constructor
{ Handle => $_dbh }
) or die CGI::Session->errstr();
My application is dying with the following error message:
Can't locate errstr via package "CGI::Session::Serialize::storable"
at /usr/lib/perl5/site_perl/5.8.8/CGI/Session.pm line 812
My system is:
perl 5.8.8
CGI::Session 4.35 (downloaded today)
Linux Gentoo 2.6.22 running on i686
Modperl 2
Thanks for the support!