what happends to website if i leave it to be for a longer time?
Unanswered
American Sable posted this in #help-forum
American SableOP
Hi
I have this question that I cant find an answer to, say for example if im about to fil in a form and then I just leave it and dont save it to draft or something and then come back to the website after say 2-3 hours, keep in mind website isint closed or anything, I just leave my PC. Then when I want to keep filliing the form and click on Submit button the I get this error that something went wrong which I think is that I lost connection, and I lose all the data.
So the question is how can I prevent to lose all the data and dont have to refill the form all over again?
I have this question that I cant find an answer to, say for example if im about to fil in a form and then I just leave it and dont save it to draft or something and then come back to the website after say 2-3 hours, keep in mind website isint closed or anything, I just leave my PC. Then when I want to keep filliing the form and click on Submit button the I get this error that something went wrong which I think is that I lost connection, and I lose all the data.
So the question is how can I prevent to lose all the data and dont have to refill the form all over again?
4 Replies
American black bear
save form data in local storage, but DONT store anything sensitive such as passwords, etc.
American SableOP
yea that was what i was thinking as well, I guess thats the best solution?
American black bear
probably yeah
if you are using some state managment library & they support localStorage state you can use that aswell