Hello Folks, I had a application which is deployed on IBM Websphere Application Server 4.0.1 Advanced Edition for MultiPlatforms.The application is abt tracking of users which consists of Jsps and EJBs.Where should i write the methods for HttpSessionListener in my application.Please give me the suggestions. Thanks in Advance. Ravi
The idea is to use place this in application scope. Use a Hashtable to store users in. Store the hashtable in the application scope. You can modify the code in the previous post to do this. Then when a session expires, you have to have an event hook to log them out. You do this by implementing the HttpSessionListener interface. Below is a sample of this.