At 08:56 22.11.2002, Justin French said:
>PHP cannot possibly know when a user closes a window... PHP regularly
>"cleans out the garbage" of old abandoned sessions, but you cannot expect
>this instantly...

This is controlled by the session.gc_probability value in your INI file
which is set to 1 by default. This means that every 100th access to any PHP
script on your server will initiate the session garbage routine which might
kill your outdated session file. Increasing this value will make this
process more often, setting it to 100 will have PHP run the garbage
collector every time a PHP script gets executed (you shouldn't do this -
think in concurrency terms...)

   >O     Ernest E. Vogelsinger
   (\)    ICQ #13394035

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to