> Can I trap browser close event and send the message back to > the server > when then user either closes the browser window or kills the browser. > I have to check in some licenses once the user session is over. > I am using apache 1.3.12 with tomcat 3.2.2
Take a look at the HttpSessionBindingListener. Your not really trapping the browser close but anytime the accessing user is no longer valid. Note that this session will not be invalidated if the browser remains open and the user simply goes somewhere else. In this case it won't be invalidated until the timeout. There have been numerous posts on the list in the past. If you take a look at the archives you'll find all the information you need. --- Michael Wentzel Software Developer Software As We Think - http://www.aswethink.com -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>
