Home » HTTP » HTTP_Session2 » Bug #4164
Garbage collection not working because of index of array
Details
| Submitted | 2005-04-16 15:55 UTC |
|---|---|
| From | stranger_nm at newmail dot ru |
| Assigned | tbibbs |
| Status | Closed |
| Package | HTTP_Session2 |
| PHP Version | 5.0.2 |
| OS | Windows XP |
| Roadmaps | (Not assigned) |
Comments
[2005-04-16 15:55 UTC] stranger_nm at newmail dot ru
Description:
------------
I've found that garbage collection is not working and found why. It's just a little bug, you forgot digit "2" at the code :) See below:
Reproduce code:
---------------
/*** file at HTTP/Session2/Container.php ***/
/*151*/ /** @ignore */
/*152*/ function HTTP_Session2_GC($maxlifetime)
/*153*/ {
/*154*/ return $GLOBALS['HTTP_Session_Container']->gc($maxlifetime);
/*155*/ }