Thanks for the suggestion, Kripal. Our scenario is basically this:
Tomcat controls the "global" timeout at 30 minutes, however, we'd like to set a lower threshold (around 5 - 10 minutes) for our application, but keep the "global". Essentially, if the server is not contacted within 30 minutes, it will timeout, that's a given. What happens in the meantime is open to question.
For instance, I'm working on a form, tapping away at the keyboard...thinking some...tapping some more. During this time the server is not contacted. Now if 10 minutes pass, one solution is to simply timeout due to server inactivity. Another is to reset the timer each time a key is pressed or the mouse is moved, allowing the user to maintain a session if they are performing ANY activity. Of course, if the latter solution is used, we'd have to notify them if they are approaching the 30 minute mark.
I'm still debating this. Any more opinions?
Thanks,
WS