This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes JSP and the fly likes List Authenticated User for all sessions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » JSP
Bookmark "List Authenticated User for all sessions" Watch "List Authenticated User for all sessions" New topic

List Authenticated User for all sessions

Subliner Kemp

Joined: Nov 06, 2012
Posts: 6

I would like to have an admin page for my JSP application, where I can list all active users, their browser agents, whether they have validated themselves via login passwords.

So far I have achieved the active session part via created listener classes and making use of methods like "public void sessionCreated(HttpSessionEvent se)".

Now, I want to be able to list in a table like this:
Active User List:
No. IP Address Browser Agent Has Logged In Username Login Time Session Started Time Session To End Time
1. Internet Explorer No No Nil 08:00 08:30
2. Mozilla Firefox Yes jamesbran 08:15 08:12 08:42

How can I be able to find out the attributes above?
Also, for browser agents and such I can be able to track them via user request individually, and store them into their session variable. But how do I get to retrieve the user's session variable on this application-level and attach their agents to the corresponding number on the list?
I'm quite in a lost.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: List Authenticated User for all sessions
It's not a secret anymore!