Larry Woods wrote:
>
> I have a server page that has served an HTML page with a "Cancel" button on
> it, BUT this server page has not completed and is running a 15-30 second
> process before it completes.
Long-running processes are not good for web servers. You should write
this application a different way. See
http://www.google.com/groups?hl=en&l...40TK2MSFTNGP09
for a better way.
> I want the browser user to be able to
> terminate the page before the server process has finished.
Educate the user about the browser's "Stop" button. Alternatively the
user can click on another URL, select a bookmark, or enter a new URL.
When the Stop button is pressed, the TCP connection is reset and the
connection closed between client browser and server. Any queued output
will be discarded by whichever party (client, server or proxy agent) is
holding it.
Good Luck,
Michael D. Kersey