Sessions: All those little files
| From: | Thomas Deliduka | Date: | Wed, 07 Nov 2001 21:28:34 +0000 |
| Subject: | Sessions: All those little files | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-73803@lists.php.net to get a copy of this message | ||
So, my /tmp directory is filled with files:
sess_asdflkje9ja0943jl09jfljef
(or whatever the sessid happens to be)
They are dated back to October 30.
How can I get these to be cleared out? Do I have to write a cron-job to
clear them?
If so, anyone have any suggestions?
If someone suggests session_destroy() how can I ensure that every person who
visits my website hits a page that calls this. I mean, I can have a 'logout'
button or something but there will countless people who don't use that.
--
Thomas Deliduka
IT Manager
-------------------------
New Eve Media
The Solution To Your Internet Angst
http://www.neweve.com/