title: how to kill the session on stopping of server
body: <p>I have made a project in <code>java</code>, <code>jsp</code>, <code>servlets</code>. I have done the session management on login and logout processes. I am facing a problem here. When I do NOT logout from application and stop my <code>apache tomcat server</code> and restart it again, my session does not kill. I want my session to be vanished on stopping of server. Can I do this in some <code>.xml</code> configurable files inside <code>apache tomcat</code> directory?</p>