@Jeff_MottMar 08.2007 — #t should fires only after closing the window not after refreshing that page[/quote]To the best of my knowledge, no browser lets you distinguish [i]how[/i] the page is being left. Whether clicking a link, closing the window, or merely refreshing, all you can know is that the page is being left.
@KorMar 08.2007 — #From the browser's point of view, there is only a single action, [B]closing the session[/B]. Therefore a browser's interpretor can not distinguish between closing, refreshing, or going to another page.