RE: [PHP] sessions garbadge

From: Date: Thu, 13 Mar 2003 10:55:34 +0000
Subject: RE: [PHP] sessions garbadge
Groups: php.general 
Request: Send a blank email to php-general+get-139480@lists.php.net to get a copy of this message
> -----Original Message----- > From: John W. Holmes [mailto:holmes072000@charter.net] > Sent: 13 March 2003 10:24 > > > My gc_maxlifetime = 3600 (1 hour) and my probability = 100 > , just for > > testing . When i create a session on my site and i dont log > out , the > > session var will still remain on the server , ok , after an > hour (not > > exactly an hour) , when i surf the site , the collector > destroys that > var > > on > > the server (linux server) ! That is how it should work ! But when i > create > > a > > session at say 23:36 , the session var will still be on the > server at > 8:16 > > (after the carbadge collector came around) , why does this happen , > does > > php > > work in a 12 cicle only , or what is wrong ? > > How do you know the garbage collector was started? There is a (by > default) 1% chance Ahem! Even when poster has reported that "... my probability = 100 ..."? Cheers! Mike --------------------------------------------------------------------- Mike Ford, Electronic Information Services Adviser, Learning Support Services, Learning & Information Services, JG125, James Graham Building, Leeds Metropolitan University, Beckett Park, LEEDS, LS6 3QS, United Kingdom Email: m.ford@lmu.ac.uk Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211

« previous php.general (#139480) next »