Session Handling php changes - Was RE: [imp] Session Handling via Mysql

Chuck Hagenbuch chuck@horde.org
Thu, 12 Sep 2002 09:50:23 -0400


Quoting Nigel Cass <N.Cass@Hull.ac.uk>:

> I would be most grateful if someone could explain which php scripts I
> would definitely need to include the custom session functions within and
> at which points I would need to call the session_set_save_handler()
> function. I have looked through the scripts and I "guess" that I could
> get away with including it at the beginning of horde/login.php and
> imp/login.php - but I'm not very knowledgable about php programming and
> I have almost certainly missed something obvious.

I don't remember what version of IMP you're using, but there is a
SessionHandler class in Horde HEAD that you can model your changes after.
Most people don't actually need code changes, and just use a prepend_file.

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
"After a few minutes the most aromatic and nice smelling Italian coffee 
 will come out of the exhaustpipe." - Our stove-top espresso pot