Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How does this stackexchange form saved the work, I mean keep an auto save function, to retrieve loss of work, in case the user's browser crashes.

share|improve this question
up vote 3 down vote accepted

I do not really know how they do it exactly, but I know a method of how it can be done. HTML5 has this option build in. It is done by local storage.

Check out this link: http://diveintohtml5.org/storage.html

But maybe there are other methods, maybe by javascript which could be compatible with more browsers.

share|improve this answer

I know that most forms that 'save drafts' in case the browser crashes or the user leaves the site use ajax to store data on the server. If you write something on blogger, or write an email in gmail the form autosaves what you write every minute. Now if anything happens to your browser or connection you have a draft saved that you can continue editing before publishing or sending.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.