- Posts: 1
- Joined: Tue Jul 12, 2011 12:42 am
Q) In which of the following situations will a session be definitely invalidated?
(Select 3 options)
a) The container is shutdown and brought up again.
b) No request comes from the client for more than "session timeout" period.
c) A servlet explicitly calls invalidate() on a session object.
d) If the session time out is set to 0 using setMaxInactiveInterval() method.
I assume the correct answers are a,b,c.
Please anyone come-up with a suggestion?
- Site Admin
- Posts: 8941
- Joined: Fri Sep 10, 2010 9:26 pm
There is an explanation given with the question as to why option 1 is not correct and 4 is correct. Can you please specify what is your doubt?
Users browsing this forum: No registered users and 0 guests