Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
|
Yes, it's possible.
What you need to do, is set up a javascript event listener that will send the content of the textarea to a db (or in a cookie, if there is only 1).
For that, you will need to identify the user though.
Either via a cookie (weak, can be altered or dropped easily) or via a login form.
Then, each time the focus is lost on the textarea, use a xmlHttpRequest (ajax) object to send to the db which text-area it is, it's content, and the id of the user.
Next time he comes back to that page, simply check the db for existing content and pre-fill the textarea.
__________________
Only a biker knows why a dog sticks his head out the window.
|