[horde] pgsql_sessionhandler.sql not working?

imp imp at xtremedev.com
Tue Jul 8 20:21:50 PDT 2003


On Tue, Jul 08, 2003 at 09:15:27PM -0600, imp wrote:
> On Tue, Jul 08, 2003 at 09:44:54PM -0500, Ron Cooper wrote:
> > Quoting imp <imp at xtremedev.com>:
> > 
> > > Hello,
> > >
> > >   I'm currently running horde and imp from HEAD (cvs'd as of five
> > >
> > > $conf['sessionhandler']['type'] = 'sql';
> > >
> > >   But when I try to login via imp, I am immediately logged out with
> > >
> > 
> > 
> > $conf['sessionhandler']['type'] = 'pgsql';
> > $conf['sessionhandler']['params'] = array();
> > $conf['sessionhandler']['params']['hostspec']='localhost';
> > $conf['sessionhandler']['params']['protocol']='tcp';
> > $conf['sessionhandler']['params']['username']='hordeCVS';
> > $conf['sessionhandler']['params']['password']='mypassword';
> > $conf['sessionhandler']['params']['database']='hordeCVS';
> > $conf['sessionhandler']['params']['table']='horde_sessionhandler';
> > 
> > You setup like that?
> 
> Does sessionhandler not take it's params like all the other handlers? I
> have this set earlier in my conf.php file, does sessionhandler not use
> these to log into postgresql?
> 
> $conf['sql']['phptype'] = 'pgsql';
> $conf['sql']['protocol'] = 'unix';
> $conf['sql']['socket'] = '/tmp/.s.PGSQL.5432';
> $conf['sql']['hostspec'] = 'localhost';
> $conf['sql']['username'] = 'horde';
> $conf['sql']['password'] = 'mypassword';
> $conf['sql']['database'] = 'horde';
> 
> However, I will try what you suggest and report back.

It would seem that what you suggested resolved the issue. May I ask why
does the horde sessionhandler not use the $conf['sql'] params like all
the other handlers do? More for curiousity than anything else.



More information about the horde mailing list