Joel Metelius wrote:
>
> Is it possible for the server to detect that the client has aborted the
> request?
>
> In IIS you have a method:
> bool IResponse::IsClientConnected()
>
> I haven't seen anything like that in the servlet specs...
>
Catching IOExceptions should (I think) give you the
same effect as IIS's IsClientConnected.
But if there is a series of intermediate proxies and
tunnels between your server and the client, then there is
just no way for any sort of server (including IIS) to
immediately detect when the client has disconnected.
However, there is some discussion in the archives
about particular servlet containers having bugs that
make it impossible to detect disconnects even when
the server should be able to tell.
-cks
___________________________________________________________________________
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