[imp] Printing out session vars

Roger Thomas sniper at home.net.my
Sun Jan 14 20:56:51 PST 2007


Quoting Chuck Hagenbuch <chuck at horde.org>:

> 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
> -- 
> IMP mailing list - Join the hunt: http://horde.org/bounties/#imp
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe at lists.horde.org
> 

Docroot is /html/horde and I have set the cookie path to '/' 
$conf['cookie']['path'] = '/';

Please help.

--
roger


---------------------------------------------------
Sign Up for free Email at http://ureg.home.net.my/
---------------------------------------------------


More information about the imp mailing list