Um. That was really nasty. I just wrote an answer for a question on Stack Overflow, complete with JavaScript code. When I submitted it, I received a "down for maintenance" screen. When I hit the back button on my browser, my answer was gone. I had a little bit of my post on the clipboard, but.. Come on. Really?

Could SO please do something other than just eat my answer? Could it at least dump the contents of the posted form so I can scrape my post back out and not lose the work I put in?



I've done the clipboard copy thing before, but it is a big hassle. I really detest having to take that extra step all the time. Can't anything be done? Maybe:

  • Save the post periodically using AJAX, and if abandoned, show it in a "drafts" area on the user's page. If the save function fails put up a small flag notification on the web page so I know I need to copy the post and save my work. There's no need to go all the way to formal draft management: merely keeping the current post available is all that's necessary.

  • Set up an alternate "postback" server during maintenance so requests aren't lost but get echoed back to the client with instructions to try again in a bit.

  • Submit questions and answers via AJAX. If the request fails, leave the page up with a message to try again later. If successful, only then load the resultant page or merge the page changes to the current page. This seems like the least amount of effort and quite effective.

  • By mentioning drafts in your update, you may have driven yourself into [status-deferred]-land. See this question about drafts.
    – Pops
    Commented Sep 23, 2010 at 14:36
  • It was only one option of 2. Now there are 3 options. Don't throw out the baby with the bath water! Also, I have to search for discussions on capitalization of question titles...
    – ErikE
    Commented Sep 24, 2010 at 16:30
  • @Emtucifor, non-capitalized seems to be the status quo. But since you actively like it that way, I'm not going to edit it out again.
    – Pops
    Commented Sep 24, 2010 at 16:43
  • @Pop Any threads on it? I always thought titles should have initial caps, in any context.
    – ErikE
    Commented Sep 24, 2010 at 17:10
  • @Emtucifor, that seems to be too broad to be a real rule.</personal-opinion> You could ask about it on English Language and Usage SE, they're full of such questions over there, but don't expect a definitive answer.
    – Pops
    Commented Sep 24, 2010 at 17:23
  • see my updated answer -- we do now auto-save drafts to the server every 45 seconds. Commented Jun 19, 2011 at 7:22
  • Thanks, @Jeff, I'm glad you liked my suggested feature.
    – ErikE
    Commented Jun 20, 2011 at 23:48

5 Answers 5


As of October 2010, drafts are automatically saved, as you suggested. We now automatically save drafts to the server for posts every 45 seconds. We store one question draft, and one answer draft, per user and per site. So if you come back to the specific question or answer you were composing, you'll see your previously composed post already there.

Old answer:

I make a habit of copying whatever I'm about to submit (of any non-trivial length, that I worked a lot on) to the clipboard, across every website I use.

I also recommend using a clipboard stack program, like Ditto (preferred!) or ClipX or similar.

  • Note to people who use Synergy ++, Ditto is the better option between the two.
    – user50049
    Commented Jun 19, 2011 at 12:34

Lazarus: Form Recovery is an add-on for Firefox that records and keeps each field's value when you submit a form.

  • 6
    It took me a while to figure out why it took my browser a minute to start up. This was it. I can't recommend it. Commented Sep 23, 2010 at 10:18
  • Hans Passant, do you play chess?
    – Déjà vu
    Commented Sep 23, 2010 at 16:22
  • 3
    More seriously, that add-on utilizes a database - you can clean it or remove entries older than a week for instance, in the options. That should prevent a slow startup. Also, the add-on improved over time.
    – Déjà vu
    Commented Sep 23, 2010 at 16:24
  • I like this answer but wonder if there's more input. Anyone else have experience with this add-on?
    – ErikE
    Commented Sep 24, 2010 at 17:38
  • I got a Firefox update a few days ago that declared this add-on to be no longer compatible. I couldn't find a newer version. Commented Jul 9, 2017 at 19:03

In theory, dumping even just the markdown sounds like a good idea, but there's a problem... when that screen is up, the site is serving a static page, because the actual servers are unavailable.

It is unfortunate, I realise - but I'm not sure how much can be done about that realistically.

For info, which browser are you using? I'm sure many do this, but when I hit back from Chrome it usually preserves my unsaved answer.

  • Browser is Firefox 3.6.9.
    – ErikE
    Commented Sep 23, 2010 at 6:19
  • 7
    Yup, this is an invaluable feature of Chrome... so useful that I was really surprised when I even read this question. I regularly have errors where I can't post, usually due to a flaky 3G connection. I very rarely lose any work because of it.
    – Jon Skeet
    Commented Sep 23, 2010 at 7:27
  • 2
    If you're doing scheduled or even unscheduled maintenance a five or ten minute warning that the site is about to go offline can't be that hard to do?
    – Kev
    Commented Sep 23, 2010 at 7:29
  • 9
    @Kev: "Dear users: there will be an unexpected server crash in 5 minutes. Please plan accordingly." ;o) Commented Sep 23, 2010 at 9:20
  • +1 @Piskvor for the joke, but for planned downtime I agree with @Kev
    – Pops
    Commented Sep 23, 2010 at 14:32
  • 1
    @Popular Demand: For scheduled maintenance, he's right of course; alas, I've always seen "unscheduled maintenance" used as an euphemism of "omg wtf server on fire". Commented Sep 23, 2010 at 15:36
  • @Piskvor interesting.
    – Pops
    Commented Sep 23, 2010 at 16:37

Yesterday, I used Marc's answer as justification for "this has been all but declined" on a question similar to this one. Well, now it's been implemented. So, unfazed, I give you Geoff's announcement:

We have added a retry link on the offline page that will help with this.


It would seem the appropriate answer here is to upgrade to Chrome. You'll thank us later.

  • 3
    yep. Chrome is formtastic.
    – Stephen
    Commented Jan 28, 2011 at 18:34

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .