Hi...
I want to save data in database when user close browser. there are javascript function
such as onbeforeunload() and unload but these are not working properly because when we refresh browser than these functions also do there function.
How it is possible..
please help...
Thanks
How to save data in database when user close browser.
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Iftikar HussainRank #423 · 5.9K reputationPosted Jul 23, 2013, 8:33 PM EDT
Please refer the below link
http://forums.aspfree.com/net-development-11/page-close-event-handling-396344.html
Regards,
Iftikar
Sanjeeb LenkaRank #301 · 8.3K reputationPosted Jul 23, 2013, 8:40 PM EDT
http://forums.asp.net/p/1849112/5170302.aspx/1?Re+Saving+data+on+browser+close+