wood burning stoves 2.0*
The moose likes Servlets and the fly likes how can i find out informations of currently logon-users Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "how can i find out informations of currently logon-users" Watch "how can i find out informations of currently logon-users" New topic
Author

how can i find out informations of currently logon-users

Lion Z. Li
Greenhorn

Joined: Oct 31, 2003
Posts: 19
I am using struts to construct my web app. Here i need to find out infomations about all the users that are using the app for the moment. And for any user she has to logon and be authenticated to use the app. Right after the authentication , i simply put a context object in a session in order for system to check out if that use is OK to futhur access actions.
i just cant count the active sessions as that struts may create session even before the start of user logon process. the key seems to be ckecking if there is the context object in an active session. My question is that which listener i should choose? or is there any other way instead of session listener one, in which i can also do my work with situations above?


SCJP1.4
Jason Menard
Sheriff

Joined: Nov 09, 2000
Posts: 6450
The fact you're using Struts really isn't important here and it's more of a general Servlet issue. I'm going to go ahead and move this to the Servlets forum.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how can i find out informations of currently logon-users
 
Similar Threads
How can I catch session timeout event?
TileAction & Tile context
Event Handling
How to ge know which users are using an app?
Session Invalidate problem