Re: detect user click "stop" button in browser

From: Date: Fri, 23 Jun 2006 03:02:47 +0000
Subject: Re: detect user click "stop" button in browser
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-238541@lists.php.net to get a copy of this message
On Thu, June 22, 2006 9:48 pm, weetat wrote: > I have tried the connection_aborted() in my code , however it not > working at all , below is my code: > > If i close the browser window(IE) , the script still running and call > the difference() function as shown below: > Any ideas what is happening ? Thanks > > ignore_user_abort(true); Doesn't this tell PHP: Keep going even if the window is closed. I think you want FALSE here... But I never did get this to work reliably back in PHP3 days... -- Like Music? http://l-i-e.com/artists.htm

« previous php.general (#238541) next »