[imp] Custom Session Handler error

Frank Niedermann fbn at gmx.net
Thu Mar 27 21:34:19 PST 2003


Hi,

I get some errors while setting the Custom Session Handler to
$conf['sessionhandler']['type'] = 'mysql';.

These are the additional configuration settings:
$conf['sessionhandler']['params'] = array();
$conf['sessionhandler']['params']['phptype'] = 'mysql';
$conf['sessionhandler']['params']['hostspec'] = 'localhost';
$conf['sessionhandler']['params']['username'] = 'horde';
$conf['sessionhandler']['params']['password'] = 'secret_password';
$conf['sessionhandler']['params']['database'] = 'horde';

While trying to log into IMP as user, horde.log shows this:

Mar 27 21:19:32 HORDE [error] [imp] Error retrieving session data
  (id = 9efc14a560fe614735874ff245c54ebe) [on line 110 of
  "/home/www/htdocs/secure/horde/lib/SessionHandler/mysql.php"]
Mar 27 21:19:42 HORDE [notice] [imp] Login success for fbn at iws1.fnet
  [192.168.1.99] to {imap.iws1.fnet:143} [on line 83 of
  "/home/www/htdocs/secure/horde/imp/redirect.php"]
Mar 27 21:19:42 HORDE [error] [imp] Error retrieving session data
  (id = 9efc14a560fe614735874ff245c54ebe) [on line 110 of
  "/home/www/htdocs/secure/horde/lib/SessionHandler/mysql.php"]

The user is not able to login ("wrong user or password ...").
What's the problem with this, do I have to create additional
sql-tables on the database? The connect seems to work because
if I change the user/password I get another error-message.

With Custon Session Handler = none the user is able to login.

Thanks,
  Frank
-- 
Frank Niedermann    http://fbn.dyndns.org
mailto:fbn at gmx.net jabber:fbn at charente.de




More information about the imp mailing list