Current sessions

Posted on 2004-11-15
Last Modified: 2010-04-01
Is there a place/web page I can go to see all the jsp sessions that my computer is currently using,

Question by:Sometimes
    LVL 35

    Accepted Solution

    On the server?  You can go to the tomcat admin panel to see how many sessions Tomcat currently has


    I think
    LVL 4

    Assisted Solution

    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?.
    LVL 4

    Expert Comment

    this code will display all session

    <%@ page import="java.util.*" %>
    Enumeration enames=session.getAttributeNames();
    while (enames.hasMoreElements()){
      String name=(String)enames.nextElement();
          Object value=session.getAttribute(name);

    Featured Post

    Free Trending Threat Insights Every Day

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Join & Write a Comment

    Suggested Solutions

    We are happy to announce a brand new addition to our line of acclaimed email signature management products – CodeTwo Email Signatures for Office 365.
    Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
    This video discusses moving either the default database or any database to a new volume.
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

    755 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now