note 39833 added to features.connection-handling
| From: | ejatcampbell*dot*name at rn2 dot php dot net | Date: | Thu, 12 Feb 2004 10:01:20 +0000 |
| Subject: | note 39833 added to features.connection-handling | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-65041@lists.php.net to get a copy of this message | ||
I don't think the first example given below will occur in the real world.
As long as your order handling script does not output anything, there's no way that it will be
aborted before it completes processing (unless it timeouts). PHP only senses user aborts when a
script sends output. If there's no output sent to the client before processing completes, which
is presumably the case for an order handling script, the script will run to completion.
So, the only time a script can be terminated due to the user hitting stop is when it sends output.
If you don't send any output until processing completes, you don't have to worry about
user aborts.
----
Manual Page -- http://www.php.net/manual/en/features.connection-handling.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+39833
Delete -- http://master.php.net/manage/user-notes.php?action=delete+39833&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+39833&report=yes
Search -- http://master.php.net/manage/user-notes.php