RE: [PHP] Session data-files not removed?
| From: | Johnson, Kirk | Date: | Wed, 07 May 2003 14:12:58 +0000 |
| Subject: | RE: [PHP] Session data-files not removed? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-146672@lists.php.net to get a copy of this message | ||
> The session-data with it's name var still exists.
> Browser closed, 12 hours later i call that page with that
> PHPSESSID again
> and the session-data still exists.
> session.gc_probability = 1
The gc_probability means there is a 1% chance *on each request to the
server* that the garbage collection process will be launched. Garbage
collection is what effectively destroys the session data. So, if your server
is not getting many requests, the session file can sit there a long time. If
that is a problem, increase the value of the gc setting.
Kirk