Is there another event handler or another way to perform some action when the browser is closed that does not get activated when a user hits 'back' or a link on the page? I need to perform a function that only gets executed when the browser is closed. Thanks, Jamie.