session-timeout in web.xml does not work
Hi, For my application in the webapps under the WEB-INF directory I have a web.xml where I set the property session-timeout to say 10 (so 10 minutes) , but I can still use the same page after 15 minutes of inactivity. Do I have to do something special on the jsp to invalidate the session ? thanks, Jignesh __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: session-timeout in web.xml does not work
On Nov 2, 2007 12:08 PM, Jignesh Shah <[EMAIL PROTECTED]> wrote: > For my application in the webapps under the WEB-INF > directory I have a web.xml where I set the property > session-timeout to say 10 (so 10 minutes) , but I can > still use the same page after 15 minutes of > inactivity. What do you mean by "use the page"? How are you determining that you're still in the same session as before? -- Hassan Schroeder [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: session-timeout in web.xml does not work
I was not clear, by use the page , I meant I could still click on the buttons on the jsp and they work fine. The problem is those buttons use beans that have "session" validity. thanks, Jignesh --- Hassan Schroeder <[EMAIL PROTECTED]> wrote: > On Nov 2, 2007 12:08 PM, Jignesh Shah > <[EMAIL PROTECTED]> wrote: > > > For my application in the webapps under the > WEB-INF > > directory I have a web.xml where I set the > property > > session-timeout to say 10 (so 10 minutes) , but I > can > > still use the same page after 15 minutes of > > inactivity. > > What do you mean by "use the page"? How are you > determining > that you're still in the same session as before? > > -- > Hassan Schroeder > [EMAIL PROTECTED] > > - > To start a new topic, e-mail: > users@tomcat.apache.org > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: session-timeout in web.xml does not work
On Nov 2, 2007 12:37 PM, Jignesh Shah <[EMAIL PROTECTED]> wrote: > I was not clear, by use the page , I meant I could > still click on the buttons on the jsp and they work > fine. The problem is those buttons use beans that have > "session" validity. And you're saying the prior values are still in session? If so, I'd add a ServletContextListener to log begin/end of sessions to see what's going on. Personally, I've never had a problem with session timeouts, and I frequently change them via web.xml to test things. -- Hassan Schroeder [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: session-timeout in web.xml does not work
On Nov 2, 2007 12:46 PM, Hassan Schroeder <[EMAIL PROTECTED]> wrote: > If so, I'd add a ServletContextListener to log begin/end of sessions > to see what's going on. Actually, I'd stop trying to multitask /quite/ so much on a Friday :-) and implement HttpSessionListener and/or HttpSessionBindingListener interfaces... yeah. sheesh. -- Hassan Schroeder [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]