Re: thread question
| From: | Toke Herkild | Date: | Wed, 01 Apr 2009 06:43:04 +0000 |
| Subject: | Re: thread question | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-290912@lists.php.net to get a copy of this message | ||
Virgilio Quilario skrev:
Hi virgil, would that also apply to a script executed from the first script : example: if (do_stuff_which_takes_a_long_time){ exec('php /path_toscript/script.phpsh'); } would script.phpsh also be aborted if the connection is broken ? Regards, TokeHi all, Another question: If a script starts to perform an operation and the user browses away will that terminate the thread perfoming the operation eg. the operation is aborted ? Mvh Tokethe script is aborted as soon as server gets no response from the browser when it sent output to the browser. virgil http://www.jampmark.com