Re: Aborting long running DB queries with browser "Stop" button
| From: | Dee Ayy | Date: | Fri, 13 Feb 2009 19:31:56 +0000 |
| Subject: | Re: Aborting long running DB queries with browser "Stop" button | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-45953@lists.php.net to get a copy of this message | ||
On Fri, Feb 6, 2009 at 5:10 AM, G <tjmadwja@gmail.com> wrote:
> I've done extensive web searches, read all of the PHP manual pages beginning
> with mysql_, wasted days on trial-and-error experimenting (signal handling
> etc.), seen the "[PHP-DB] Long running db queries and the "STOP" button"
> thread from the end of 2005, but my problem remains.
>
> Help! Please?
If I understand you, using AJAX http://xajaxproject.org/ you
could
setup your own "STOP button" (rather than somehow hooking the web
browser's built-in Stop button) and have it call your abort code.
Although maybe there is some cross-browser technique to hook the
built-in stop button (and still make your AJAX call).