Hi members

I am trying to find a way to catch browser close event and call a server side code for database entry .I have tried Javascript for window.onbeforeunload and body.onunload but unload event is fired everytime the page navigates i need to catch only browser close event.I am using asp.net with C# and my page have a master page.

Thanks in advance

Shakti