I have a pice of ASP code which logs some information into the database like the logout time, last html page visited etc. I want to call this module when the browser is closed. <BR>I am able to do that if I have that code inside Session_OnEnd and while the session time out event occurs. But I dont know how this can be done when the browser is closed. Can anyone help me to do this.