|
Posted by Chung Leong on 11/07/71 11:31
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.
Navigation:
[Reply to this message]
|