Posted by Bob Stearns on 11/09/48 11:31
Chung Leong wrote:
> That won't really work since the presence of a session file doesn't
> mean the session is active. Files for session that have expired stay in
> the folder under garbage collection occurs. By default, PHP garbage
> collects about once every 100 requests. When traffic is low (say, in
> the middle of the night), dead sessions could remain for a long time.
>
> As was suggested, it's probably easier to save the info in the database.
>
Thanks, I'll work on that.
[Back to original message]
|