I have a textbox where the user enters some data and saves this value to the database. Next time the user comes to the same aspx page in the same session, the value should be restored in the textbox. Whats the best way to do this? Using the session maybe?
Thanks 🙂
The session is a good way to save the data. You also should have a way to load the data from the database if the session is not available. (ie, they come to the same page the next day)
something like this: