Hi, I'm using php and ajax calls to save content of a form and I'm wondering if there is a secure way to save a form also on the unload of the page.
>From a book that I have: the event fires before the document goes away, don't burden the event handler with time-consuming tasks, such as generating new objects or submitting a form. The document will probably go away before the function completes, leaving the function looking for objects and values that no longer exist. The best defense is to keep your onUnload event handler processing to a minimum. There's maybe a workaround? Thank you