FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


abandoned session cleanup





kv
I am creating a temporary directory for each session to store some temporary files. I delete the directory when user logs out. But if user does not logout and just closes the browser, the directory remains. I guess the session info on the server side also will be hanging. How do I cleanup these?
cambridge
write a function which parses session files inside all session dirs or checks its age and deletes them if they are older than e.g 24h
Related topics
PHP newbie session question
Problem with session variables
Session globals through .htaccess
extremely short SESSION lifetime
phpBB 2.0.20 RELEASED
not able to sustain session for long time
all my $F and more for a task on change cookie to session
Using the Windows Installer CleanUp Utility in XP, Windows X
phpbb: Login-Session
Session Question
Session handlers in Frihost using Python? Help Needed!
Joomla Installation Problem --> Session Save Path
How to send a save session
session variables
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.