How does SO's form remember previous input values?

Posted by user198729 on Stack Overflow See other posts from Stack Overflow or by user198729
Published on 2010-05-01T12:32:42Z Indexed on 2010/05/01 16:57 UTC
Read the original article Hit count: 156

I've noticed that the Title or Body part is remembered if I come back to the Ask Question page by pressing Back button of my browser.

This feature is available in all browsers I tested, but doesn't exist for the forms in my own projects.

How can I approach that effect?

UPDATE

I still don't have any clue yet,but guess it that some kind of client cache enabled by http headers or javascript?

© Stack Overflow or respective owner

Related posts about web-development

Related posts about forms