Re: Deleting old "sess_..." files from /tmp dir

From: Date: Thu, 06 Jun 2002 14:44:08 +0000
Subject: Re: Deleting old "sess_..." files from /tmp dir
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-19644@lists.php.net to get a copy of this message
On Thursday 06 June 2002 21:47, Tim Haak wrote: > Hello, > > We're trying to use session variables to store a user's database login > information. I am wondering how to automatically delete the old "sess_..." > files from the /tmp directory which are used by PHP to store session > variables. Is there a way to set PHP to do this? I've tried setting the > "session.gc_maxlifetime" in the php.ini to a lower number, but had no luck. > > I suppose a last resort is a script that runs in cron to delete the old > files. In the normal course of operation php will automatically delete the expired sessions. -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * /* One seldom sees a monument to a committee. */

« previous php.db (#19644) next »