Hi guys!! I need to know if it were possible to trap the event of a browser window getting closed, in java. The reason why i want to do is this : I've a chat application where in i have a logout button. Now if the user clicks the logout button, i update his record back in the database and sign him off. So far so good...... But the problem is, what if the user closes the browser window directly, i.e. without clicking on the logout button. In any case i need to update his record, but how do i do this ??? Anyone to help me out ??? Thanks all !!
Joined: Dec 08, 2000