Session File not being deleted
| From: | Samantha Savvakis | Date: | Fri, 12 Jan 2001 01:00:21 +0000 |
| Subject: | Session File not being deleted | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-34172@lists.php.net to get a copy of this message | ||
Hi,
I'm using:
SCO Openserver 5.0.5
PHP 4.0.4
I had this problem a little while ago, and didn't find a resolution to it.
I'm using sessions for a current application. The sessions are being created
and used as I want them to be. I have no problems with the way they are
working.
The files in my /tmp directory are never being removed. I've got files in
there from over 4 weeks ago and the list is growing.
I reviewed all the options in the php.ini file. I changed the following two
parameters to be small to see what happens:
session.gc_maxlifetime = 300 ; 300 seconds = 5 minutes
session.cache_expire = 2; 2 minutes
No change after changing the parameters. I even stopped and started my web
server to be sure that they would take effect and also printed out
php_info() to make sure the correct php.ini file is being used.
Any ideas as to what it might be?
Thanks,
Sam