[horde] enabling mysql sessionhandler?

Niall Young niall at chime.net.au
Sun Dec 7 23:19:24 PST 2003

Can anyone clarify exactly what's required to enable the mysql
sessionhandler?  Are there any docs or guides on this?  I've been
searching for hours and can only find oblique references.

In config/horde.php I've set:

$conf['sessionhandler']['type'] = 'mysql';
$conf['sessionhandler']['params'] = array();
$conf['sessionhandler']['params']['phptype'] = 'mysql';
$conf['sessionhandler']['params']['hostspec'] = 'hostname.blah.com';
$conf['sessionhandler']['params']['username'] = 'horde';
$conf['sessionhandler']['params']['password'] = 'password';
$conf['sessionhandler']['params']['database'] = 'horde';

and am getting the following error in my browser:

Parse error: parse error in .../config/horde.php on line 97

Setting the sessionhandler to none is working intermittantly at best.
We're sharing prefs etc. with MySQL in a load balanced environment, but even
with a single webserver we're getting random logouts when browsing the
imp interface.  Obviously we want to share sessions over MySQL too, I
just can't find any decent information on how it should be done or what
configuration I'm missing.  Horde: 2.2.3, IMP: 3.2.1, MySQL 3.23.49-8.5
on Debian woody.  Everything else works fine, we're just having random
session problems.


Niall Young                                    Chime Communications Pty Ltd
niall at chime.net.au                            Level 6, 263 Adelaide Terrace
Ph: (+61) 08 9213 1330 / 0408 192 797         Perth, Western Australia 6000

    "Any ass-copying (or other 'dangerous' stunts) will be considered
    as a destructive act and will be dealt with by HR."
                                        -- Matt Wood, Feb 2003

More information about the horde mailing list