Last post Jul 20, 2011 10:25 PM by Decker Dong - MSFT
Jul 19, 2011 10:03 AM|Adkar|LINK
i have a page where a user enters a lot of information and what i would like to do is automatically update whatever they've entered into the a sql database whenever they navigate away from the page or close the browser.
Not sure what else i can do. Can i please get some help with this?
Jul 20, 2011 04:50 PM|shirowkhan|LINK
My assumption is that they placing all this information into a form. After they are down have them submit and then send them away from the page. Thats my logical guess at least, i could be worse. If they fill the page half way and decide to stop and go else
where wouldnt it be a problem updating the DB with only half a page of data?? Let me know if i'm wrong with my assumption
Jul 20, 2011 10:25 PM|Decker Dong - MSFT|LINK
In my mind, I think you can handle onbeforeunload and with the help of AJAX in jQuery+WebService(where there should be an existing updating method) to deal with that.