how to save data in database when user close browser.
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