C'mon, guys, read the HTTP specification--there's no way for the browser to
send a "stop" signal to the server, because HTTP itself is request/response
oriented. Any new communication from the browser will simply create a new
request/response pair, rather than cancel the old one.
Note that this is not the case for Keep-Alive connections, but most servers
(in my experience) try to avoid those anyway, to allow for better
scalability.
Ted Neward
http://www.javageeks.com/~tneward
-----Original Message-----
From: Stephane Cloutier <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Tuesday, March 07, 2000 3:27 PM
Subject: Re: browser stop loading
> In fact, I'm actually using the servletrunner engine of Sun's
jsdk2.0. I
>know that it's a developpment only servlet engine but I would nevertheless
>expect it to stop processing the request. Is commercial servlet engine
>usually have a better behavior? Is this the case for Netscape Entreprise
>server?
>
>Regards,
>Stephane
>
>At 01:15 PM 3/9/00 -0500, Chauhan, Vivek wrote:
>>I expect he behavior to be web server/servlet engine specific. I hope some
>>web server/servlet engines must be taking care of stop button push. It
will
>>be a good idea to pass your observation to the vendors of the web
>>server/servlet engine you are currently using and probably they may
>>incorporate it in their next release.
>>
>>
>>Vivek
>>
>>-----Original Message-----
>>From: Stephane Cloutier [mailto:[EMAIL PROTECTED]]
>>Sent: Thursday, March 09, 2000 11:12 AM
>>To: [EMAIL PROTECTED]
>>Subject: browser stop loading
>>
>>
>>I notice that when you post a request to a servlet, change your mind and
>>stop the browser loading, the request will continue to be processed by the
>>servelt. Is there a way to detect the browser stop button push and to
>>interrupt the processing for reducing the server load?
>>
>>Thanks,
>>Stephane
>>
>>__________________________________________________________________________
_
>>To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
>>of the message "signoff SERVLET-INTEREST".
>>
>>Archives: http://archives.java.sun.com/archives/servlet-interest.html
>>Resources: http://java.sun.com/products/servlet/external-resources.html
>>LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>>
>>__________________________________________________________________________
_
>>To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
>>of the message "signoff SERVLET-INTEREST".
>>
>>Archives: http://archives.java.sun.com/archives/servlet-interest.html
>>Resources: http://java.sun.com/products/servlet/external-resources.html
>>LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
>___________________________________________________________________________
>To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
>of the message "signoff SERVLET-INTEREST".
>
>Archives: http://archives.java.sun.com/archives/servlet-interest.html
>Resources: http://java.sun.com/products/servlet/external-resources.html
>LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html