sql server - asp mvc, best solution to store user input data before it will be saved to database -


For example, I have got some input fields (a form with each form and it has input with validation rules Which is stored in the database). Each input has its own on-site (), which sends the controller to the controller for json (i.e. the new value, the name of the input element, ...), if the new value passes, then save the user to the submit button anywhere. For the database table which will save all the data which should not go.

And here I want to ask, what can be the special place between the UI and the database?

ps If the user closes the browser / next time when he comes back, I have to ask him whether he wants to start with the blank form or he can fill the form with the values ​​already there before .

Thank you!

Cookies or intermediary database tables will work for this case.

Comments