I have made a shopping cart where user has to login. I have used stateful session bean to manage the session. Now the problem is that even after shutting down computer, the user is not getting logged off. Please tell me how to kill a session when user logs out or system is shut down. I am using JBoss 3.2.1 Please help. Abhishek.
The user session management is usually handled by the webserver . Can you give more details about your user session management . Are you using session based or cookie based authentication .
when a user logins into the web server , the web server has the settings for idle time out which is the time that the user's http session will be active with no action taken from user . So even if you have cleaned up the user's session details such as shopping cart and your application relies on cookie based authentication and if you have not removed the cookie or the key from session , the users http session will still be alive .