note 10536 added to session_unset

From: Date: Tue, 09 Jan 2001 18:06:00 +0000
Subject: note 10536 added to session_unset
Groups: php.notes 
Request: Send a blank email to php-notes+get-9520@lists.php.net to get a copy of this message
to get rid of old session data in /tmp we had to set up a cron job that regularly deleted the stuff therein. A nasty hack and not exactly reliable but we were in a rush. Maybe one could make a function that looks through the session_ids and compares them to the ones in the temp directory, deleteing the old ones or so. http://www.php.net/manual/function.session-unset.php

« previous php.notes (#9520) next »