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
-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,
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 !-- still
-during-method-execution-tf3121073.html#a8722858
Sent from the Tomcat - User mailing list archive at Nabble.com.
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
-
-
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-method-execution-tf3121073.html
:
http://www.nabble.com/Session-timeout-during-method-execution-tf3121073.html#a8648528
Sent from the Tomcat - User mailing list archive at Nabble.com.
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail
-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 browser
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.