22

I had a question I thought deserved a well written answer, but I realized part way through writing it, I didn't have the correct answer. I did some more research and I am ready to finish answering the question (I hope), and I cannot find the question. I browse Stack Overflow quite frequently and haven't been able to locate the question with my browser history, or searching through the tagged questions.

How can I find a saved draft of an answer?

6
  • 2
    meta.stackexchange.com/questions/1177/…
    – yivi
    Commented Jan 5, 2018 at 14:16
  • But generally, I do not think you do the reverse search that you want to do: find the question for which you have a saved draft. I you open the question, you'll see the draft in the answer box.
    – yivi
    Commented Jan 5, 2018 at 14:24
  • 8
    Side note: while it is mostly abuse of features, posting half-complete answer and immediately deleting it may be better approach in such case as "recently deleted" is readily accessible from the profile unlike drafts... Note that such answer will be visible to 10k+ users and moderators - adding "this post is temporary deleted till I find answer to xxxx part" will clarify your intentions and could help you remember what you wanted to do. Commented Jan 5, 2018 at 15:20
  • 7
    @AlexeiLevenkov or just bookmark or star the question
    – lucidbrot
    Commented Jan 6, 2018 at 12:44
  • Look in your browser's history for the question page.
    – Makyen Mod
    Commented Jan 6, 2018 at 21:23
  • Side note: alternatively, just leave the tab opened until you're ready to post the answer (like me, having a few tabs for more than 1 week with partial answer drafts)
    – Andrew T.
    Commented Jan 8, 2018 at 8:00

1 Answer 1

22

Unless you find the question, you're out of luck. The details of the draft mechanism are specified in this post:

Drafts are stored in redis for 7 days.

For anonymous we use cookie to track the user.
For non anonymous we use the user id.

We ship it to the server in the heartbeat (once a minute or so), the heartbeat also notifies you when new answers were added in the banner on the top.

We only store drafts for new answers and new questions, not for edits.

There is no page on the Stack Overflow site with a list of your drafts, and since the drafts are stored server-side, you cannot browse your local storage / cookies for question IDs.

3
  • 1
    Thanks for the quick answer! Hopefully this list is on a list somewhere for the future.
    – John Pavek
    Commented Jan 5, 2018 at 16:48
  • Are you sure that drafts aren't stored on the client side as well? Especially since the cited answer is from 2011…
    – Bergi
    Commented Jan 7, 2018 at 13:54
  • @Bergi switching browsers, or clearing your local storage, does not remove the drafts. I did check my local storage but found nothing that appears to store draft information.
    – Glorfindel
    Commented Jan 7, 2018 at 15:55

You must log in to answer this question.

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