Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- what happens when client press "Stop"?
September 5, 2006, 7:58 pm
rate this thread
Re: what happens when client press "Stop"?
It depends. By default, when the connection is aborted (i.e. when the
user presses the "stop" button in their browser) the script stops
executing. This behavior can be changed with the ignore_user_abort
directive in php.ini or with the ignore_user_abort() function. In this
case, the script will run to completion and you can detect the client
disconnect using connection_aborted().
More details can be found here: