This week's book giveaway is in the General Computing forum. We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line! See this thread for details.
In one web application I use java,jsp,servlets,struts.
Just wanted to destroy the session when the browser is closed by the end user.
Where I can put some code to destroy the session and update the status of that user in the database.
Briefly in that application I have restricted multiple login of the same user.
So if the user closes the browser without clicking the log out then the status of the user in the database Should update for the next time login.