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.
*/


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to