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