RE: [PHP] Session File not being deleted

From: Date: Fri, 12 Jan 2001 09:07:03 +0000
Subject: RE: [PHP] Session File not being deleted
Groups: php.general 
Request: Send a blank email to php-general+get-34222@lists.php.net to get a copy of this message
What about the sesion.gc_probability? In the .ini file: session.gc_probability = 1 ; percentual probability that the ; 'garbage collection' process is started ; on every session initialization If you have very few users then there is a big chance the collector doesn't run, I would guess. Try maxing it to 100 for a test run and run some sessions? Don't know if this is any good though. -J -----Original Message----- From: Samantha Savvakis [mailto:samantha@cfs.net.au] Sent: 12. januar 2001 02:00 To: php-general@lists.php.net Subject: [PHP] Session File not being deleted 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#34222) next »