Re: Checking when application closes
There is a session timeout parameter in web.xml. I tested my app with a 2 min timeout to redirect the user to the home page after the session times out. I use Tomcat but web.xml and the session timeout param are standard on a servlet container. Here is the web.xml file I use, the timeout param is at the end. Fred == http://java.sun.com/j2ee/dtds/web-app_2_2.dtd";> welcome com.jobtracking.WelcomeFilter welcome mainPage.faces welcome /* org.springframework.web.context.ContextLoaderListener Faces Servlet javax.faces.webapp.FacesServlet 1 Faces Servlet *.faces 30 --- Karthik N <[EMAIL PROTECTED]> wrote: > look at your web server/app server documentation for http sessions > and how > they time out. > > On 9/5/06, Peter Dawn <[EMAIL PROTECTED]> wrote: > > > > ok. how can i implement a session time-out. > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > -- > Thanks, Karthik > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Checking when application closes
look at your web server/app server documentation for http sessions and how they time out. On 9/5/06, Peter Dawn <[EMAIL PROTECTED]> wrote: ok. how can i implement a session time-out. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Thanks, Karthik
Re: Checking when application closes
ok. how can i implement a session time-out. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Checking when application closes
Nope You are relying on the web page sending some sort of message when the browser gets killed. No matter what fancy mechanism you can think of this will be defeated with something as simple as the internet connection being broken. This is why you use session time out. -Pat --- Peter Dawn <[EMAIL PROTECTED]> wrote: > guys, > > i am using tap3. how can i check when the user closes my web app. i > mean if they hit ALT+F4 or just click on the X on the browser. there > has to be a way for me to know when the web app is closed. > > any ideas. > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Checking when application closes
guys, i am using tap3. how can i check when the user closes my web app. i mean if they hit ALT+F4 or just click on the X on the browser. there has to be a way for me to know when the web app is closed. any ideas. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]