Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how can i find out informations of currently logon-users

 
Lion Z. Li
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Jason Menard
Sheriff
Posts: 6450
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic