Hi, I have a couple questions regarding Servlet\Tomcat, 1. What is the way to find how many sessions are in running in server using servlet? 2. What is the way to know the status of any given session by providing session id?
It will be very helpful if I get solutions ASAP.
Thanks in advance.
posted 9 years ago
Check HttpSessionListener or HttpSessionBindingListener. You can get some idea to find number of sessions.