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

Didi Rieder adrieder at sbox.tugraz.at
Mon Feb 24 23:59:40 PST 2003


Quoting Jeff Tucker <jeff at jltnet.com>:

> --On Monday, February 24, 2003 10:07 PM +0100 Didi Rieder
> <adrieder at sbox.tugraz.at> wrote:
> 
> > Quoting Jeff Tucker <jeff at jltnet.com>:
> >
> >> In my system, I replicate the MySQL database from a master to multiple
> >> read-only secondaries. This means that I can send read-only queries to
> >> the secondaries
> >
> > How are you doing this? I mean sending read-only queries to the
> > secondaries?
> 
> Not Horde queries. Those all have to go to the master. But my IMAP servers
> use SQL for authentication, for instance, and I send those queries to
> secondaries.

Ok, understood....

>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

-- 
-------------------------
Didi Rieder
adrieder at sbox.tugraz.at
PGPKey ID: 3431D0B0
-------------------------

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 185 bytes
Desc: PGP Digital Signature
Url : http://lists.horde.org/archives/imp/attachments/20030224/47be2b83/attachment.bin


More information about the imp mailing list