Re: [PHP-DB] Aborting long running DB queries with browser "Stop" button
[email protected] (Dee Ayy)
| Newsgroups | php.db |
|---|---|
| Message-ID | <[email protected]> |
On Fri, Feb 6, 2009 at 5:10 AM, G <[email protected]> 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).