tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From paul womack <pwom...@papermule.co.uk>
Subject undesirable session timeout behaviour
Date Tue, 14 Aug 2007 14:19:32 GMT
For reasons all my own, I want the timeout period
to be quite short - essentially if a (human) user
sits around doing nothing for more than 5 minutes,
I want to timeout the session.

I have configured tomcat to do this, and it
works fine.

Except.

If the user initiates an activity (ok - I'll admit - it's a download)
which takes longer than 5 minutes, the session gets timed out
every time, since tomcat doesn't monitor "activity in general"
for timeouts; tomcat just monitors user requests.

I thought of setting the timeout to "some large value"
at the start of a download, but that would require estimating
bandwidth ahead of time (to estimate a good value for
timeout).

It would be more appealing to have download traffic
reset the timeout clock, but I'm open to other insights.

Has any body else had this problem, and
(even better) created a solution?

   BugBear

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message