Hi Gabriel,

Yes or, if you find that a request is taking too long (not too sure how you will check this) or the user has waited too long you could time out the session.

Pranav
At 10:27 AM 1/22/2003 +0100, you wrote:
>mmm.... I think i figure out the idea...
>may be a could have a session attribute that gets initialized
>on every of this "critical" requests, so I can check before
>any expensive operation if the client is still waiting for it...
>
>is something like that what do you mean?
>
>thanks
>
>-----Mensaje original-----
>De: Pranav Lal [mailto:[EMAIL PROTECTED]]
>Enviado el: miércoles, 22 de enero de 2003 9:19
>Para: [EMAIL PROTECTED]
>Asunto: Re: connection alive detection
>
>
>Hi Gabriel,
>
>I faced similar issues and as of now, the only way I have found to do this
>is session handling.
>
>Pranav
>At 08:31 AM 1/22/2003 +0100, you wrote:
> >Hi, does somebody knows if there are any way of knowing from a servlet if
> >the client
> >connection that have thrown the request is still alive? this is
> >for avoid executing resource-expensive server tasks if the user has
> >just gone, or he reloads the page a lot of times without waiting for
>server
> >response
> >
> >thanks
> >
> >
> >Gabriel Roldán
> >GIS Research and Development
> >Dominion T.I.
> >[EMAIL PROTECTED]
> >
> >
> >To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
>JSP-INTEREST".
> >For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
>DIGEST".
> >
> >Some relevant archives, FAQs and Forums on JSPs can be found at:
> >
> > http://java.sun.com/products/jsp
> > http://archives.java.sun.com/jsp-interest.html
> > http://forums.java.sun.com
> > http://www.jspinsider.com
>
>==========================================================================To
>unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
>For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
>DIGEST".
>
>Some relevant archives, FAQs and Forums on JSPs can be found at:
>
> http://java.sun.com/products/jsp
> http://archives.java.sun.com/jsp-interest.html
> http://forums.java.sun.com
> http://www.jspinsider.com
>
>
>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
>For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
>
>Some relevant archives, FAQs and Forums on JSPs can be found at:
>
> http://java.sun.com/products/jsp
> http://archives.java.sun.com/jsp-interest.html
> http://forums.java.sun.com
> http://www.jspinsider.com

==========================================================================To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".

Some relevant archives, FAQs and Forums on JSPs can be found at:

http://java.sun.com/products/jsp
http://archives.java.sun.com/jsp-interest.html
http://forums.java.sun.com
http://www.jspinsider.com

Reply via email to