Title: Apache::Session problems

Hello,

I am trying to use Apache::Session to store http session information.
The version number of Apache::Session is 1.54. It is running on Apache/1.3.20 (Unix) mod_perl/1.26 configured.

I am using the TicketTool from the o'reilly book, I make a tie as follows in TicketTool.pm
 my (%session, $cookie);
    tie %session, 'Apache::Session::MySQL', $cookie, { DataSource => 'dbi:mysql:ETNA',
                                                        UserName => 'user',
                                                        Password => '********',
                                                        LockDataSource => 'dbi:mysql:ETNA',
                                                        LockUserName => 'user',
                                                        LockPassword => '********'
                                };

In an other handler I am trying to recreate the session

tie %session, 'Apache::Session::MySQL', $session_id, {
                        Handle => $dbh,
                        LockHandle => $dbh
                };
$dbh contains a handle to a MySQL database

I also tried it with:

tie %session, 'Apache::Session::MySQL', $session_id,  {                        
                                        DataSource => 'dbi:mysql:ETNA',
                                        UserName => 'user',
                                        Password => '*******',
                                       LockDataSource => 'dbi:mysql:ETNA',
                                       LockUserName => 'user',
                                       LockPassword => '*******'
                        };


Both methods resolve to the same error:

[Thu Feb 28 11:46:39 2002] [error] Storable binary image v24.48 more recent than I am (v2.4) at blib/lib/Storable.pm (autosplit into blib/lib/auto/Storable/thaw.al) line 351, at /usr/local/lib/perl5/site_perl/5.6.1/Apache/Session/Serialize/Storable.pm line 27

Does anybody knows a sollution to this problem, as far as I can see, all Apache::Session modules are up to date.



Met vriendelijke groet / With kind regards,
Domien Bakker
Application Developer

Application development
Operations and Engineering
ZeelandNet BV

Postbus 35
4493 ZG Kamperland
The Netherlands
tel. +31 (0)113 377733
fax +31 (0)113 377784
domien@staff.zeelandnet.nl
http://www.zeelandnet.nl/



Reply via email to