How can I expire all my sessions in Tomcat?
问题 I would like to expire all my sessions in Tomcat. We test our product under Fitnesse and some sessions remain and the end of the session causes dependency between the tests. I do it by hand with the following code, but some sessions remain (I can check it with the http://localhost:8080/manager/html/list url) public static void expireAllSessions() { String[] applications = { "a", "b", "c", "d", "e" }; for (String application : applications) { try { expireAllSessions(application); } catch