mahijas Posted April 1, 2009 Share Posted April 1, 2009 HiI am using the jasper server3.1, jst i want to know how many users are connected to jasperserver and to see whether the user is logged in or logged out. I have cheked the in the jiuser table but there is only an option to see whether the user is enabled or disabled.Thanks'Mahender Link to comment Share on other sites More sharing options...
mahijas Posted April 7, 2009 Author Share Posted April 7, 2009 Hi Any pointers on this pls Link to comment Share on other sites More sharing options...
anandharaj Posted April 7, 2009 Share Posted April 7, 2009 You will not know this by looking at JS tables. You need to check the JasperServer's Log ($TOMCAT/webapps/jasperserver/WEB-INF/logs) Link to comment Share on other sites More sharing options...
mahijas Posted April 8, 2009 Author Share Posted April 8, 2009 Hi AnanadThanks for your prompt response.I did't find any user status in the logs file.My Requirement is if i inegrate jasper server with some othere application.When user clicks on logout buttion will goes to my application home page instead jasper homepage. Here i want to know is that wether the user is in still active mode or inactive(logout mode).If at all the user mode in active how do i make him inactive mode(logout). RegardsMahender A Link to comment Share on other sites More sharing options...
anandharaj Posted April 9, 2009 Share Posted April 9, 2009 You can check in Tomcat's log also Link to comment Share on other sites More sharing options...
al_ryder Posted April 21, 2009 Share Posted April 21, 2009 You need to parse the tomcat log looking for the url of the logout hhtp request for that particular user. You also need to deal with the time issue, i.e. make sure that the logout request is 'recent'. This is a really messy way of doing it. Shame Jasper Server doesn't keep an 'audit' table. Link to comment Share on other sites More sharing options...
swood Posted May 4, 2009 Share Posted May 4, 2009 Looking for a logout is not enough. You need to deal with session expiry. You could add a listener in the web.xml that catches session expiry and does what you want, which will cover logout as well, as we expire the session during logout. I don't understand what you are trying to do, Mahender A. If you need some different behaviour on logout, you can override it by changing WEB-INF/jasperserver-servlet.xml to put your own implementation of logout in the environment. ShermanJaspersoft Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now