what i mean is this.

The client (browser) can disconnect the connection
with the server by clicking the STOP or Reload button
on the browser. When this happens, the server will not
know and will keep processing the previous request
from the client.

If the server is to process a time consuming task,
this would be a waste because when it sends the
response, the client cannot receive it.

Therefore, I thought there was some method (probably
isConnected) in HttpResponse or HttpRequest that
returns true only if the client is still connected.

Thanks,
s.m.
--- Eric Noriega <[EMAIL PROTECTED]> wrote:
>     HTTP is transactional, so I assume you mean to
> say, "Is the browser
> session still valid?"  Perhaps you should elaborate
> a bit on what it is
> you are trying to accomplish, esp. what is the
> nature of the time
> consuming task?
>
> steve martin wrote:
>
> >Hi,
> >Does anyone know how to check if the client browser
> >still connected before performing a time-consuming
> >task?
> >
> >thanks,
> >s.m.
> >
> >__________________________________________________
> >Do You Yahoo!?
> >Sign up for SBC Yahoo! Dial - First Month Free
> >http://sbc.yahoo.com
> >
>
>___________________________________________________________________________
> >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
>


__________________________________________________
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com

___________________________________________________________________________
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

Reply via email to