Re: php4 - removing outdated session files
| From: | Andrei Zmievski | Date: | Fri, 14 Jan 2000 14:21:10 +0000 |
| Subject: | Re: php4 - removing outdated session files | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-14622@lists.php.net to get a copy of this message | ||
On Fri, 14 Jan 2000, Greg Kelley wrote:
> How do we delete outdated session files from /tmp? session_destroy() only
> resets the session variables to null in the file, but the file remains.
> Looks like we need a session_stop() to delete the session file, since a
> session_start() creates it.
Take a look at session.gc_probability and session.gc_maxlifetime
settings in your php.ini file.
-Andrei
* Programming is an art form that fights back. *