>We have a custom developed sessions admin screen
Is this a java program within the Tomcat ?
>we will be storing the session ID's in a database.
I guess you could also store the name of the instance as well.
You could use a Map. Something like
map.put(sessionId, "A"); or map.put(sessionId, "B");
You could use a HttpSessionListener in each instance of Tomcat that could(in its sessionCreated method) add each session id to an application-scoped set and send the id and its instance name to the database.
Each Tomcat could have a servlet that could invalidate a session when it receives a request to do so from the admin.
If need help with the code, then just ask us here.
Main Topics
Browse All Topics





by: stevelopezPosted on 2009-07-10 at 15:03:36ID: 24827829
This may be more difficult than I expected; raising the point value...