[imp] session handler type prefers 'sql' rather than 'mysql'

jkpsj jkpsj at yahoo.com
Thu Jan 30 16:51:57 PST 2003


horde2.2/imp3.2/php4.3

whenever i put 'mysql' as the sessionhandler type: conf['sessionhandler']['type']='mysql' , i will
not be able to login with reason=session (Your Mail session has expired. Please login again)
and horde.log will contain:
Jan 31 08:04:53 HORDE [error] [imp] Error retrieving session data (id =
0ba71bcb549c0ef6b87abb4ca67ad443) [on line 104 of
"/home/httpd/htdocs/horde/lib/SessionHandler/mysql.php"]

and correct, no data was written to the table horde_sessionhandler.

HOWEVER, if i changed the sessionhandler type to 'sql'; everything works great.

and finally, how do i decode the content of the session_data field in the horde_sessionhandler
table ? unserialize doesn't work for me.

please advise.


my horde.config snippet:
------------------------
$conf['sessionhandler']['type'] = 'sql';
$conf['sessionhandler']['params'] = array();
$conf['sessionhandler']['params']['phptype'] = 'mysql';
$conf['sessionhandler']['params']['hostspec'] = 'localhost';
$conf['sessionhandler']['params']['username'] = 'horde';
$conf['sessionhandler']['params']['password'] = 'horde';
$conf['sessionhandler']['params']['database'] = 'session';

--
jkpsj


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


More information about the imp mailing list