From: fredi_bieging at yahoo dot com dot br Operating system: Linux PHP version: 5.2.0 PHP Bug Type: Session related Bug description: Session doesn't expires
Description: ------------ I set the folowing variables in the php.ini, as follows: session.gc_probability = 100 session.gc_maxlifetime = 60 My aim was that after 60 seconds the garbage collector deleted the session files, so that the session expired. This didn't happen. I am sure that the php.ini is read, but anyway I put the following lines at the start of every script: ini_set("session.gc_probability", "100"); ini_set("session.gc_maxlifetime", "60"); Not a chance, it doesn't work. Thanks in advance. -- Edit bug report at http://bugs.php.net/?id=40249&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=40249&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=40249&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=40249&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=40249&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=40249&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=40249&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=40249&r=needscript Try newer version: http://bugs.php.net/fix.php?id=40249&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=40249&r=support Expected behavior: http://bugs.php.net/fix.php?id=40249&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=40249&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=40249&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=40249&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=40249&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=40249&r=dst IIS Stability: http://bugs.php.net/fix.php?id=40249&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=40249&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=40249&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=40249&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=40249&r=mysqlcfg