Re: [PHP4BETA] Very interesting question....

From: Date: Thu, 17 Feb 2000 05:41:27 +0000
Subject: Re: [PHP4BETA] Very interesting question....
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-10386@lists.php.net to get a copy of this message
> For example, if I have a very heavy query called > from a php script, one that could take arround 50 > seconds in getting executed. If for some reason > the user hits the stop button before the 50 > seconds have passed the query will finish but when > it sees that there's no client nothing will > happen. That is a very big loss of speed and > performance. Is there a way that when the user > hits the stop button it inmediatelly terminates > the query without waiting to thew query to finish? > > That's possible with ASP and the question is that > is possible with php. It is only possible in ASP if the database you are talking to from ASP supports this. I don't think any of the UNIX databases stop a query when they lose their socket to the client, but I could be wrong. -Rasmus

« previous php.version4 (#10386) next »