Always display the variable in the value attribute of the text box.
On initial visit, it will be empty because the variable, initialized, is empty.
On submit, you grab the POST and assign it to the variable. It should then "save" your text for you.
Let me know if you need help, post some code,
Dan