I'm doing a simple checkout in a small eshop and I'd like to give the user the option of a final review. So the flow is Basket -> Buyer information -> Order review -> Order confirmation.
Now the question is, what would be the best way to transfer the data between phase 2 and 3?
One option is to use HTML and hidden form fields. The downside is that I have to do another input check after phase 3 (since the input is modifiable by user).
Another option is to use sessions. As the order is stored in an object (Sf2 Entity), I'd have to convert it to an array and later convert it back. Also, I've read that putting too much data into session variables can have negative effect on the performance.
Third option would be storing in the db but I'd prefer not to store anything until final confirmation.
Are there any better options?