Hi, I have this requirement, an admin user should be able to view the list of all users who have logged into the applicatoin. The admin can forcefully logout any user. To do this I have the userID (loginID) stored in the database when the users login. Now my problem is how do i get the reference to the users session object using his loginID. One of the solution is storing the sessionID along with the loginID in the database. but we can see that the HttpSessionContext is now depricatated As of Java(tm) Servlet API 2.1 for security reasons, with no replacement. This interface will be removed in a future version of this API. Second solution is maintaining login users list in memory. On a cluster replicating this list is a problem. Now how do I get the reference to the user session object inorder to invalidate it. So i need the weblogic api which can get me the reference to the user's HttpSession object. regards sathwik
Hi Sathwik, You can use our Coherence*Web HTTP session managment module to "un deprecate" the HttpSessionContext. Further, you could use Coherence to maintain your list of logged in users in memory in a concurrent and fully clustered manner.
<a href="http://www.tangosol.com" target="_blank" rel="nofollow">www.tangosol.com</a><br /><a href="http://www.tangosol.com/coherence.jsp" target="_blank" rel="nofollow">Coherence:</a> Easily share live data across a cluster!