[horde] Problem with horde sessions

Néher Márton ha1dfo at ha5kfu.hu
Fri Aug 31 18:30:10 UTC 2007


Hi!
I would like to ask, wether is it normal for Horde to produce errors
like this:

Aug 31 19:22:47 HORDE [error] [horde] Error writing session data:
ERROR:  duplicate key violates unique constraint
"horde_sessionhandler_pkey" [on line 173 of
"/usr/local/share/webmail2/lib/Horde/SessionHandler/pgsql.php"]
Aug 31 19:22:57 HORDE [error] [horde] Error writing session data:
ERROR:  duplicate key violates unique constraint
"horde_sessionhandler_pkey" [on line 173 of
"/usr/local/share/webmail2/lib/Horde/SessionHandler/pgsql.php"]

I use pgsql as session handler (because php's own sessionhandler kicks
users out (forces them to re-login, what is really annoying [we have
about 8000 accounts]))
I use Horde Groupware Webmail Edition 1.1
The relevant parts of my conf.php:

$conf['sessionhandler']['params']['persistent'] = false;
$conf['sessionhandler']['params']['port'] = 5432;
$conf['sessionhandler']['params']['protocol'] = 'tcp';
$conf['sessionhandler']['params']['hostspec'] = '#########';
$conf['sessionhandler']['params']['username'] = 'horde';
$conf['sessionhandler']['params']['password'] = '############';
$conf['sessionhandler']['params']['database'] = 'horde';
$conf['sessionhandler']['params']['table'] = 'horde_sessionhandler';
$conf['sessionhandler']['type'] = 'pgsql';

$conf['session']['name'] = 'Horde';
$conf['session']['use_only_cookies'] = true;
$conf['session']['cache_limiter'] = 'nocache';
$conf['session']['timeout'] = 0;


Have anybody seen anything like this or have any idea?

Marton Neher





More information about the horde mailing list