Hi all,

see if 'stale connections' in J.Hunter's book is what
you want.

ron


--- "Cogley, Jonathan"
<[EMAIL PROTECTED]> wrote:
> Jeff,
>
> What you described sounds similar to
> Response.IsClientConnected() in ASP
> which returns whether or not the client is still
> connected (JSP has
> something similar??)
> but I think the poster wants to determine if/when
> the user closes the
> browser once
> the page has already downloaded....
>
> I think some more info from the poster on what he is
> trying to achieve
> would help ... Ionel ??
>
> Cheers,
> Jonathan
>
>
> -----Original Message-----
> From: Steiner, Jeff [mailto:[EMAIL PROTECTED]]
> Sent: 10 July, 2000 2:02 PM
> To: [EMAIL PROTECTED]
> Subject: Re: how to detect a browser closing
>
>
> There is a way to do this, but I am at a loss as to
> the actual package that
> does it.  Basically, you would use the call if doing
> a vary hard processing
> page and want to make sure before trying to send it
> back to make sure they
> are still present.  It does some sort of a ping of
> the client machine to
> make sure it is responding and then sends out the
> information.
>
> I hope this helps to clarify for someone else
> thatcan remember the package.
>
> Jeff Steiner
>
> -----Original Message-----
> From: Shane Duan [mailto:[EMAIL PROTECTED]]
> Sent: Monday, July 10, 2000 10:19 AM
> To: [EMAIL PROTECTED]
> Subject: Re: how to detect a browser closing
>
>
> Since a server is a program that takes request and
> send response, and
> that the Internet connection is stateless, I don't
> think you can use the
> server to detect when the browser is closed.
>
> The only way I know would be to set a time out on
> the session and do the
> logic when the session time out occurs.
>
> Hope that helps.
>
> Shane Duan
> [EMAIL PROTECTED]
>
>  -----Original Message-----
> From:   Ionel Condor [mailto:[EMAIL PROTECTED]]
> Sent:   Monday, July 10, 2000 7:22 AM
> To:     [EMAIL PROTECTED]
> Subject:        how to detect a browser closing
>
> Hi,
> I have the following problem:
> I want to detect on the server side when a user
> (which has an open
> session on the server) has closed his browser by
> pressing the "X" close
> button of the window.
> I know that using http sessions is probably the
> unique way, but I don't
> know how, as I
> don't know if the server can't initiate by itself
> such a check ?
>
> Many thanks for any suggestions,
> Ionel C.
>
>
========================================================================
> ===
> To unsubscribe: mailto [EMAIL PROTECTED] with
> body: "signoff
> JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>
>
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with
> body: "signoff
> JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>
>
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with
> body: "signoff
> JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>
>
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with
> body: "signoff JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets


__________________________________________________
Do You Yahoo!?
Get Yahoo! Mail – Free email you can access from anywhere!
http://mail.yahoo.com/

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to