Help with detecting session timeout

2006-02-20 Thread Klotz Jr, Dennis
Greetings to all. I hope everyone had a great weekend. :) I've run into a problem that I can't find any answers for and I am hopeful that one of you has the time to respond. Given: * Tomcat 5.5.15 * Applet using jvm 1.5 * An applet that has been sitting idle and tomcat has expired the session *

RE: Help with detecting session timeout

2006-02-20 Thread Klotz Jr, Dennis
for responding. -Dennis -Original Message- From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Sent: Monday, February 20, 2006 11:24 AM To: Tomcat Users List Subject: Re: Help with detecting session timeout in your servlet, you can do ... if ( session_has_timed_out) { response.setError(505

Re: Help with detecting session timeout

2006-02-20 Thread Filip Hanik - Dev Lists
, 2006 11:24 AM To: Tomcat Users List Subject: Re: Help with detecting session timeout in your servlet, you can do ... if ( session_has_timed_out) { response.setError(505,Session has timed out); return; } then in your applet, you can catch the 505, Filip Klotz Jr, Dennis wrote

Re: Help with detecting session timeout

2006-02-20 Thread Wade Chandler
--- Klotz Jr, Dennis [EMAIL PROTECTED] wrote: Greetings to all. I hope everyone had a great weekend. :) I've run into a problem that I can't find any answers for and I am hopeful that one of you has the time to respond. Given: * Tomcat 5.5.15 * Applet using jvm 1.5 * An applet that

RE: Help with detecting session timeout

2006-02-20 Thread Klotz Jr, Dennis
... this code never gets called by tomcat. So I am not really sure what you are thinking about? -Dennis -Original Message- From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Sent: Monday, February 20, 2006 11:46 AM To: Tomcat Users List Subject: Re: Help with detecting session timeout

Re: Help with detecting session timeout

2006-02-20 Thread Filip Hanik - Dev Lists
Once the session expires... this code never gets called by tomcat. So I am not really sure what you are thinking about? -Dennis that is cause you have protected every single resource in your webapp and require login for that. hence, every single resource is bound by the session existing or

Re: Help with detecting session timeout

2006-02-18 Thread Frank W. Zammetti
From an applet? There probably is no easy answer... any solution would involve either polling the server from the servlet, or pushing the status out to the servlet... the later should be doable from a SessionListener... record the remote IP when the session is created, and send a ping to it