Re: [phplib] quick question on active_sessions From: Maurice Jumelet (maurice <email protected>)
Date: 07/14/00

>That leads into two more quick questions:

>1) How come stuff never gets cleared out of active_sessions?
> I've been watching and have seen things stay in there for up to
> 5 days before I've gone in and manually cleared everything out.
>

Stuff gets deleted every X (configurable in class sess in local.inc, look at
garbage..) times (its random but statistically every X times). If your site
doesn't have that much visitors, it takes some time... ;-)

>2) When someone logs out, how come it doesn't just clear their
> items from the active_sessions table?

Don't know that one, sorry, maybe if you call $sess->delete() ?

Maurice
NOXX.com

---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>