Dear Sudip, > But recently there are couple of occasions where one or > more users are failing to forcefully logoff the session.(thelogs shows > clearly the pending sessions keeps on increasing and the value unbound > is never called for the particular user failing to forcefully logoff.
Well, we cannot look into your code, so there really is nothing that we can help you with. I would say that you should write a few unit tests with httpunit and use those to reproduce the situation you try to solve. Then test and debug from there. Unless you think this is due to some kind of bug in Tomcat, in which case we need a test case that reproduces this problem. Dear Koster, The main issue with this problem is its not reproducible from our end but the problem is happening with a couple of customers. We normally dont allow a single user to to login at multiple systems on a single instance of our Application and forcefully logoff the user from the earlier one(the previous logged one if has not logged of) if he tries to do so. We have the session binding listener and calls the value unbound.Looking at the problem logs it seems the session IDs are not released gracefully for a couple of users and the login session IDs keeps on adding causing the trouble. The user is shown to be active for the problem users when he tries to logoff. We retrieve the active users list and logoff any active users. When the problem happens it fails to call the value unbound the session. Regards, Sudip Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/