[imp] Can Horde sessions use a different database than horde_prefs?

Jeff Tucker jeff at jltnet.com
Mon Feb 24 18:25:20 PST 2003


--On Monday, February 24, 2003 11:59 PM +0100 Didi Rieder 
<adrieder at sbox.tugraz.at> wrote:

>
>> From horde/conf.php :
>
> // Database or other drivers might require configuration parameters
> // here. For instance, if you are using the SQL driver, and your
> // database settings are different from what you have in $conf['sql'],
> // you will have to define the differing settings here.
> // $conf['sessionhandler']['params'] = array();
>
> It looks like you can define the database here:
> something like the following, I guess (but I'm not sure)
> $conf['sessionhandler']['params'] = array();
> $conf['sessionhandler']['params']['hostspec'] = 'host';
> $conf['sessionhandler']['params']['username'] = 'user';
> $conf['sessionhandler']['params']['password'] = 'pwd';
> $conf['sessionhandler']['params']['database'] = 'db';
> $conf['sessionhandler']['params']['table'] = 'sess_tab';
>
>
> Didi
>

Ahh, you could be on to something. I never understood that documentation 
ilne. It says you have to define the settings, but doesn't give any 
indication what the possible choices are. So, I didn't know for the sql 
driver what the required parameters were, they are used and defined 
somewhere else.

But your suggestion looks reasonable. I'll give it a try. Thanks!

Jeff


-- 
Jeff Tucker
jeff at jltnet.com


More information about the imp mailing list