Good day everyone,
I am studying for Oracle's Web Component Expert exam. On page 221 Chapter 5, Question 11, "only container can invalidate a session" is not a true statement according to this book. But why? Even though a
servlet, or any other class that grabs a hold of HttpSession object can call invalidate() BUT isn't it the container that ultimately executes invalidation of session? Isn't HttpSession container's interface that container implements? So this question "which are true?" should also be "only container can invalidate a session".
Any comments? Feedback?
Thanks,
Victor.