Currently working on a nice three step order form for a wedding photographer, so guests can order pictures.
I've set the form up in 3 steps.
1.user details 2. review order 3. confirmation
What's the best way to repopulate the form data if the user goes from Step 2 back to Step 1.
I initially thought of using sessions to pass the data back, though I have a feeling this is probably incorrect.
Any tips would be awesome.
Thanks all.
I would do it using the session variable. What other alternatives do we have? You could provide those values in every GET or POST request the user sends to the server, but that's not a really good idea, I think. Other alternatives? Instead of saving those values in the session variable, you could temporarily use a datebase. I would stay with using the session variable.