How works the garbage collector
| From: | oje | Date: | Mon, 15 Apr 2002 08:51:35 +0000 |
| Subject: | How works the garbage collector | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-93134@lists.php.net to get a copy of this message | ||
Hi,
I cannot figure out how the garbage collector works. If we set session.cookie_lifetime to 0, the session remains valid until the browser is closed. That's OK and it works. My question is : how the garbage collector knows that the browser is closed and that the session can be destroyed ?
I found nothing in the session.c file. I am not an expert in C, however.
Thanks
Olivier