From: mazsolt at yahoo dot com
Operating system: IIS 6.0
PHP version: 4.3.4
PHP Bug Type: Session related
Bug description: implicit garbage collector for sessions in PHP
Description:
------------
this post seems to the "Bug #12888 garbage collector" post. I had the same
problems, but I tested your advices, too.
I made a script which handles the session's operations. One of them was
the session's garbage collector. the implicit gc has the probability to
start = 1/100
In my customized session-handler I changed this value to 100/100. the
script works, it deletes the old datas every time.
If I handle sessions with the implicit garbage collector from PHP, it
doesn't want to delete anything.
I changed the configuration file setting to:
--
session.gc_probability 100
session.gc_divisor 100
--
if I start a script which calls session_start(), it won't delete the old
session datas (from a week ago...)
It wants to work.it's a windows problem???
there is my script here:
Reproduce code:
---------------
<?
ini_set("session.gc_probability",100);
ini_set("session.gc_divisor",100);
ini_set("session.gc_maxlifetime",10);
session_start();
?>
--
Edit bug report at http://bugs.php.net/?id=27711&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=27711&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=27711&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=27711&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=27711&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=27711&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=27711&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=27711&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=27711&r=support
Expected behavior: http://bugs.php.net/fix.php?id=27711&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=27711&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=27711&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=27711&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27711&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=27711&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=27711&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=27711&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=27711&r=float