Invalidate Session in JSP
<p>I'm developing an application that user can log in in the system, and if another user tries to log in with the same id and password of the user that already logged, I need to invalidate the session of this user that already logged in and make him/her go back to the first page and make log in with the new user.</p>

<p>How can I develop this?</p>
