hi
i came across the below question.
i doubt more than one answer is right. can any one explain which is right option.
In which of the following situations will a session be definitely invalidated?
Select 2 correct options.
1) The container is shutdown and brought up again.
2) No request comes from the client for more than "session timeout" period.
3) A
servlet explicitly calls invalidate() on a session object.
4) If the session time out is set to 0 using setMaxInactiveInterval() method,
the session will never be invalidated automatically.