1.How to close all sessions when tomcat server shutdown
A: There is one way for closing all session when tomcat server shutdown.here is steps for doing that
1)find out where your tomcat server can be installed in your computer
2)find out conf folder
3)find out context.xml file and open it
4)and finally remove comments for <manager>
.
5)by default it is in comments
6)