[imp] Session stays open many hours(!?)

Chuck Hagenbuch chuck@horde.org
Tue, 13 Feb 2001 11:41:02 -0500


Quoting Theodore Hope <imp@iguana.internexo.co.cr>:

> Thanks for the explanation.  I had understood phplib's "GC" to
> mean "delete from the table sessions that are expired", as opposed
> to "check all sessions which should be expired by now, and expire them"
> (which is how I'm interpreting your message).   Sure enough, since
> this is an experimental horde/imp that I set up, nobody else will
> go around and GC very often.

That's correct. You can always set GC to a higher value if you want sessions 
gc'd more often.

> But wait, something else just ocurred to me:  If the browser was
> left open with the horde/imp session left on, won't the "auto check
> for mail every xxxx seconds" facility essentially keep the session
> alive, since it really _does_ access it every so often?  If this is
> the case, that will explain why it's "still active".

Yes, that's also the case - auto refreshing would keep a session alive.

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
"My intuitive grasp of math often leads me astray." -Me