September 2001
Intermediate to advanced
768 pages
32h 45m
English
int ignore_user_abort(bool user_abort_setting) Enables/disables remote user aborts.
Returns:
Previous value of the user-abort setting
Description:
ignore_user_abort() allows developers to control whether a remote client can abort the running of a script. If the user_abort_setting argument is set to FALSE, client aborts (and some network errors) will cause the script to stop running. If user_abort_setting is set to TRUE, the script continues running until an error occurs, the script finishes execution, or the script times out.
Note:
Regardless of the user_abort_setting , no output will be sent to the client’s browser after an attempt to abort the script. See connection_aborted() for information on how to deal with an aborted ...
Read now
Unlock full access