[chora] session handling

Anil Madhavapeddy anil@recoil.org
Thu, 16 May 2002 03:11:07 +0100


Did you try horde/test.php ?

If that doesn't work, then play around with PHP until it does ... its
the simplest case of native PHP sessions.

Anil

On Wed, May 15, 2002 at 02:56:20PM -0700, David Mendenhall wrote:
> Session files are being written to the temp dir (lots, in fact, one for
> every link click). I notice that if I call Horde::url, there is a variable
> Horde=5603e87570752d896bca4c8ba8c6149c (or whatever session_id), but if I
> call Chora::url, I don't get that. Is the session only persistent if I pass
> around that variable? I'm guessing that since I'm not in a
> http:/hostname/horde/chora subfolder, I'm somehow bypassing or confusing the
> session registration?
> 
> -david
> 
> -----Original Message-----
> From: Anil Madhavapeddy [mailto:anil@recoil.org]
> Sent: Tuesday, May 14, 2002 6:41 PM
> To: David Mendenhall
> Cc: chora@lists.horde.org
> Subject: Re: [chora] session handling
> 
> 
> On Tue, May 14, 2002 at 04:49:02PM -0700, David Mendenhall wrote:
> > Could someone enlighten me on how chora (and I guess horde in general)
> > manages sessions?
> > I've set up chora, without using any other horde modules, and have been
> > hacking around in the code, and it appears that I'm starting a new session
> > every time I click a link.
> > If I call session_id(), it's different every time.
> > I have chora at the root http://chora level, so if the session is passed
> > around in the horde url's, that's probably my problem.
> 
> We use native PHP4 session handling ... try out the horde/test.php
> and make sure that your basic session functionality is working.
> 
> If it isn't, then start figuring out why (is php successfully
> writing out the session files to the tmp dir?)
> 
> Anil
> 

--