[imp] PG as session backend

Arshavir Grigorian ag at m-cam.com
Wed Jan 19 12:19:38 PST 2005


Arshavir Grigorian wrote:

> Hi,
>
> I just installed the latest Horde3/IMP.
> The problem is that when I configure Horde to use my pg database for 
> session handling and use IMP/IMAP for authentication, I can no longer 
> login. Even though /tmp/horde.log says that my login was successful, I 
> am still redirected to the login page.
> If I change the session handling to use the file based option, 
> everything works fine.
> Could someone, please, tell me if there is a known problem with 
> handling sessions through a PG database. Thanks!
>
>
>
>
> Arshavir

I still can't figure out why using Pg for a session handler does not work.
Here is the relevant section of my horde/config/conf.php file:

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

What's interesting is that after I attempt to log in and get redirected 
back to the login page, there is a record in horde_sessionhandler in 
addition to a successful login message in /tmp/horde.log.

Any ideas?



Arshavir



More information about the imp mailing list