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
-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,
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
------------
> 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
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..
>>
-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
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
>
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.