Re: The neverending Session

From: Date: Fri, 02 Mar 2001 00:16:58 +0000
Subject: Re: The neverending Session
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-42249@lists.php.net to get a copy of this message
In article <01030114311802.11459@kilbourne>, osium@rio.bravo.net ("Sean B.") wrote: > 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? PHP is server-side. It doesn't know anything about a (client-side) browser window being closed. -- CC

« previous php.general (#42249) next »