tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "CPC Livelink Admin" <>
Subject RE: Detect Browser "Disconnect"
Date Mon, 30 Apr 2001 20:27:38 GMT

Put a heartbeat on the client - Use either an applet or a form with a
timeout before it resubmits.  If you don't get the heartbeat at the server,
than terminate the background thread. (This assumes that the initiat
processing can be put in a background thread.)

-----Original Message-----
From: Reiche, Mike []
Sent: Monday, April 30, 2001 3:53 PM
To: ''
Subject: RE: Detect Browser "Disconnect"

WebLogic (sometimes) throws exceptions when you write to the response socket
(out.println) after a user has clicked on the 'stop' button or the browser
has timed out. Tomcat may do the same.


>-----Original Message-----
>From: Devon Ziegler []
>Sent: Monday, April 30, 2001 11:58 AM
>Subject: Detect Browser "Disconnect"
>Well, I waited a while and decided to ask this question again
>(WITHOUT read
>receipts this time!!! :) (what a waste of email bandwidth)).
>Is there any
>way to determine if the browser that requested a page is still
>waiting for
>the response?  I would like to terminate lengthy queries and
>computations if
>the browser asking for the page is no longer waiting for it.
>We're using
>Linux 6.2 with tomcat 3.2.1 standalone and using Servlets.
>Any thoughts?
>Is this impossible?  Anybody?  Anybody?
>Devon C. Ziegler
>Cell:   (678) 485-7025
>Office: (678) 589-4126

View raw message