I want to update DB when the user closes the browser. I am capturing it in windows.onbeforeunload in javascript . I want to call a function in server side when the when the on before unload event and update the DB.
I am using asp.net 2.0 Framework and don't have ajax installed in my system. So I scriptmanager is not recognized by asp.
Can I have any other way to call a server side function from javascript without using script manager or pagemethods. Please help!!!!