Current sessions

Is there a place/web page I can go to see all the jsp sessions that my computer is currently using,

thanks
LVL 2
SometimesAsked:
Who is Participating?
 
TimYatesConnect With a Mentor Commented:
On the server?  You can go to the tomcat admin panel to see how many sessions Tomcat currently has

http://localhost:8080/admin

I think
0
 
MacroLandConnect With a Mentor Commented:
if you only want which IP's are connected you can use netstat command and follow which of them bind to port 80. Elsewise please tell which server u are using?.
0
 
aaaaaaCommented:
this code will display all session

<%@ page import="java.util.*" %>
<table>
<%
Enumeration enames=session.getAttributeNames();
while (enames.hasMoreElements()){
  out.println("<tr>");
  String name=(String)enames.nextElement();
      Object value=session.getAttribute(name);
      out.println("<td>"+name+"</td>"+"<td>"+value+"</td>");
      out.println("</tr>");
}
%>
</table>
0
All Courses

From novice to tech pro — start learning today.