On 22/11/12 16:46, bugzi...@apache.org wrote:
https://issues.apache.org/bugzilla/show_bug.cgi?id=54190

--- Comment #3 from Mark Thomas <ma...@apache.org> ---
Your logic makes sense to me so my preference would be some more comments.

I will think about our discussion and try to improve the comments and so hopefully avoid confusing future readers. I will submit a new self-contained patch and obsolete the current one.


Sorry to drift slightly (but not completely) off-topic. Could you give me your off-the-cuff opinion on this:

Context.setSessionTimeout(int timeoutInMinutes) obliges tests that need to explore session timeout behaviour to hang the test process for at least 60 seconds, although most of that delay would be unnecessary.

I don't actually know how often the Manager (is that the right component?) scans to expire Sessions, but it must do it more frequently than once a minute.

I realise the method signature is part of a public api, but do you have a view on adding an alternative method to org.apache.catalina.core.StandardContext so that unit tests could set a session timeout in seconds?

Thanks,

Brian

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to