detect user click "stop" button in browser

From: Date: Thu, 22 Jun 2006 09:16:32 +0000
Subject: detect user click "stop" button in browser
Groups: php.general 
Request: Send a blank email to php-general+get-238502@lists.php.net to get a copy of this message
Hi all, Can we detected if user have clicked the "X" button in browser or close browser ? I have tested in my php program ,when i click "X" in IE6 , the execution did not stop , it still running . Any ways to stop the program execution when user click the "X" button or close browser ? Thanks - weetat

« previous php.general (#238502) next »