To use an XML file in order to store temporary data
Is it a good idea to use an XML file in order to store temporary data until these data is correct, and then do the insert into the definitive DB?
My exact issue is: I have three form pages registration process, if the user decides going back while he/she is in the form number two, I want to store the data entered in this second form in a temporary place in order to refill the form fields when she/he returns to the this second form, but I don’ t want to use Session State. I make the inserts on every form page and I only use Session to store the user id and a little few things more. On the other hand I can’ t use a normal DB insert (in this case that the user goes back without completing the form two) because this second form will be incomplete surely, and server validations would force the user to complete all the second form to be able to go back to the previous form page, and I don’ t want this. So, Is it a good idea to use an XML file in order to store these temporary (and maybe wrong) data? Only to refill the second form fields when she/he returns?
I want to avoid too much data in session state, because many users at the same time storing data on it consumes much server memory. And many times there are alternatives much more faster and reliable.
Thank you,
Cesar