Re: ignore_user_abort()

From: Date: Mon, 11 Aug 2003 00:27:23 +0000
Subject: Re: ignore_user_abort()
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-159080@lists.php.net to get a copy of this message
* Thus wrote Zygimantas Berziunas (zygimantas@fatelords.com): > Are there any disadvantages to turn on this feature? It all depends on the application you have. In some cases its an advantage and others a disadvantage. Usually when dealing with credit processing I make sure it is enabled so if the user presses escape between the time I authorized the credit card and log the results in a database. It ensures that I will get the results logged, where if ignore_user_abort() was off I might not know what the result were from the transaction Now if I was manually sending a 10MB file to a user and he cancels the request, I want to be sure and stop the php script. There is no need for me to send the file anymore and waste precious cpu. HTH, Curt -- "I used to think I was indecisive, but now I'm not so sure."

« previous php.general (#159080) next »