RE: [PHP4BETA] Very interesting question....
| From: | Juan Luis Baptiste | Date: | Thu, 17 Feb 2000 14:47:56 +0000 |
| Subject: | RE: [PHP4BETA] Very interesting question.... | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-10392@lists.php.net to get a copy of this message | ||
Ok, thanks for the answer, I'm going to ask what database they where using.
----- Original Message -----
From: Rasmus Lerdorf <rasmus@linuxcare.com>
To: Juan Luis Baptiste <fbaptiste@interatworld.com>
Cc: <php4beta@lists.php.net>
Sent: Thursday, February 17, 2000 12:41 AM
Subject: Re: [PHP4BETA] Very interesting question....
> > 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
>
>
> --
> PHP 4.0 Beta Mailing List <http://www.php.net/version4/>
> To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net
> For additional commands, e-mail: php4beta-help@lists.php.net
> To contact the list administrators, e-mail: php4beta-admin@lists.php.net
>
>