Monday, July 7, 2008

PHP user's aborting scripts

ignore_user_abort() ignores user's aborting the execution of a script. This can prevent a system from coming to an unstable state. If a script executes and has two critical operations which depend on each other, then both of these should be executed and not just one of these operations. Use ignore_user_abort(TRUE); to prevent this occurrence.

No comments: