So what I should respond, if I am taking SCWCD 5 ? it throws the Exception ?
why am I not getting the exception, is it because I am using Tomcat 7 ?
If I use tomcat 5 then, I should get the Exception ?
Same thing here, the Session never expires with 0, set-up the timeout to 1 and you will get an exception. Try setting up a HttpSessionListener, to see that your session is removed.
posted 7 years ago
I have another question :
the session will never expire if setMaxInactiveInterval has a negative value ?
the session should also never expire if in my tag session-timeout i have a negative value or zero ? right ?
there is no way to have IllegalStateException thrown with the tag session-timeout ?