Wednesday, August 18, 2010

How to Ignore User Abort ?

When your script is doing something sensible work (like database updating etc.) and you absolutely don't want it to be interrupted by the user pressing the 'Stop' button of his browser. Then just add the following code to your script:

ignore_user_abort(true);

No comments:

Post a Comment

I just got my #domain @BigRock. Get upto 25% off with my personalized coupon link Get upto 25% off