[imp] Printing out session vars

Chuck Hagenbuch chuck at horde.org
Sun Jan 14 20:19:10 PST 2007


Quoting Roger Thomas <sniper at home.net.my>:

> My Horde/IMP is working fine with IMP doing the authentication.  
> Session is stored in mySQL. Path to IMP is:
> /html/horde/imp
>
> I have a non-Horde app in /html/app and I would like to print out  
> Horde's session vars from a script in /html/app/sess.php so that I  
> am able to test whether a user has login to IMP or otherwise. I did  
> this:

Your script looks fine; likely you have Horde's cookie root to /horde  
(I'm assuming that /html is the docroot, but in any case), so Horde's  
cookies aren't being sent to your app. You probably want to sent the  
cookie_root in Horde to "/".

-chuck

-- 
"we are plastered to the windshield of the bus that is time." - Chris


More information about the imp mailing list