All the sudden I'm having problems with this module. Ever since I switched servers.

# perl -v

This is perl, v5.8.7 built for i386-freebsd-64int

Apache::Session is up to date (1.80).
Apache::Session::MySQL is up to date (1.01).
DBD::mysql is up to date (3.0002).

oh, my code:

eval {
        tie %session, 'Apache::Session::MySQL', $session_id, {
    Handle     => $dbh,
    LockHandle => $dbh
};
};

if ($@) # if an error occurred, old session is unavailable; create a new one
     {
              tie %session, 'Apache::Session::MySQL', undef,
         {
          Handle => $dbh,
          LockHandle => $dbh
         };
     }

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to