Re: Session timeout during method execution

2007-01-31 Thread Jacob Rhoden
Christopher Schultz wrote: This was already pointed out (by me, in fact). Sometimes, you can trick the browser into keeping the connection open by sending data back little by little. For instance, I think you might be able to keep the connection open by sending HTML comments like "" every so ofte

Re: Session timeout during method execution

2007-01-31 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bryan, Bryan Basham wrote: > Did you know that you have programmatic control over the > session timeout[?] Simply call the setMaxInactiveInterval method > on the HttpSession object with a value in seconds. This is the method the OP is already using,

Re: Session timeout during method execution

2007-01-31 Thread Bryan Basham
Did you know that you have programmatic control over the session timeout. Simply call the setMaxInactiveInterval method on the HttpSession object with a value in seconds. So if you know that a given request will take 10 minutes you can say: session.setMaxInactiveInterval(600); at the beginning o

Re: Session timeout during method execution

2007-01-30 Thread Muneendra
------------ > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Session-timeout-during-meth

Re: Session timeout during method execution

2007-01-30 Thread Muneendra
ession.setMaxInactiveInterval(-1); >> >> Business Logic (10 minutes) >> >> session.setMaxInactiveInterval( timeoutBackup ); ( 5 minutes ) >> return; >> >> If i make the next request on same session, I get session invalid >> exception.. >>

Re: Session timeout during method execution

2007-01-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Muneendra, Muneendra wrote: > Lets says, my Web Application session timeout period is 5 minutes. > I made a Http request to server and corresponding Servlet requires more than > 5 minutes lets say 10 minutes to complete the business logic. Your brows

Re: Session timeout during method execution

2007-01-26 Thread JNeuhoff
setMaxInactiveInterval( timeoutBackup ); ( 5 minutes ) > return; > > If i make the next request on same session, I get session invalid > exception.. > I'm wondering what am i doing wrong here.. > > Hope you guys can throw some light on what I'm doing wrong >

Session timeout during method execution

2007-01-25 Thread Muneendra
throw some light on what I'm doing wrong Best Regards, -- View this message in context: http://www.nabble.com/Session-timeout-during-method-execution-tf3121073.html#a8647136 Sent from the Tomcat - User mailing list archive at Nabble.com.