Click here to Skip to main content
15,904,653 members

Comments by 17sam (Top 2 by date)

17sam 30-Nov-11 6:45am View    
Deleted
hey everyone
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 every time 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.
please reply me as i wana do it as early as possible....
thanks.........................
17sam 30-Nov-11 6:44am View    
Deleted
0
down vote
favorite
share [fb]
share [tw] 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 every time 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.