Date: 06/06/02
- Next message: Jason Wong: "Re: [PHP-DB] Deleting old "sess_..." files from /tmp dir"
- Previous message: Gary.Every <email protected>: "RE: [PHP-DB] cookies and Global variables"
- Next in thread: Jason Wong: "Re: [PHP-DB] Deleting old "sess_..." files from /tmp dir"
- Reply: Jason Wong: "Re: [PHP-DB] Deleting old "sess_..." files from /tmp dir"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
Our environment is: Solaris 7, PHP 4.1.2, Apache 1.3.22.
Thanks in advance for any advice you may have.
Tim Haak
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
- Next message: Jason Wong: "Re: [PHP-DB] Deleting old "sess_..." files from /tmp dir"
- Previous message: Gary.Every <email protected>: "RE: [PHP-DB] cookies and Global variables"
- Next in thread: Jason Wong: "Re: [PHP-DB] Deleting old "sess_..." files from /tmp dir"
- Reply: Jason Wong: "Re: [PHP-DB] Deleting old "sess_..." files from /tmp dir"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

