I am making a rental car application, and I am having a problem with going back to edit previous data. My application has 4 steps: First step - choose car type and location, second step - display all cars with those parameters and choose one of them, third step - show detailed information about the car chosen, and here I have an edit 2 edit button which sends me back to first and second steps. The problem is that when I click edit it shows me : This webpage requires data that you entered earlier in order to be properly displayed. You can send this data again, but by doing so you will repeat any action this page previously performed.
<a href="javascript:history.back()" title="">Edit</a>
I am not saving the data filled in in steps 1 and 2 in the session (only id of user). Instead the data of 1 step such as location and date are sent to 4 step with input type="hidden" at each form.