RE: [PHP] anyway to do a 'whos online' from session variable?
| From: | ed at home dot homes2see dot com | Date: | Wed, 08 Jan 2003 03:11:03 +0000 |
| Subject: | RE: [PHP] anyway to do a 'whos online' from session variable? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-130686@lists.php.net to get a copy of this message | ||
On Wed, 8 Jan 2003, Timothy Hitchens (HiTCHO) wrote:
> Hmm... yes you could create an array of the files then check the last
> mod stamp using stat (remember to reset stat).
>
> Sessions are also cleaned up via the garbage collection system
> controlled via php.ini
How do you force garbage collection? I've written an application using
sessions for storage and there's been a session sitting in my /tmp
directory for 2 days now, well over the 1440 seconds expiration.
Ed