aspx_professional thread: temporarily cancel the request of a page.
Hi, I have a page from which I send data to the server, before the page
is closed or the user navigate to another I use the onunload event of
the page for asking whether they want to save the changes back. The
problem is that when the user tries to close the page or refresh it, all
works fine and the updates in the server occurs in the intended way, but
when the user navigates to another page the code in the server throws an
error. I wish to know if I can temporarily cancel the request for the
other page send the data to the server and then redirect the user to the
original requested page.
Thanks a lot in advance for any help!