The neverending Session
| From: | Sean B. | Date: | Thu, 01 Mar 2001 14:31:18 +0000 |
| Subject: | The neverending Session | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-42219@lists.php.net to get a copy of this message | ||
I'm working on a chat of sorts, and in the main frame that shows the actual
messages, there is an infinite loop (while(1)) ... now, for whatever reason,
when the browser is closed, the loop/thread/whatever just won't die. There
are sessions involved, and the loop basically just checks a MySQL DB for new
posts, and updates a timestamp in a user database. Any idea of why the
loop/thread/whatever won't die?
Thanks,
Sean B.