I have set up a three page web application.
Page one has a cfform and fields to be completed by the user.
Page two displays the values for review by the user prior to submission.
Page three submits the data and prints a coupon.
The application is working correctly and submits the data to my sql table. My question is the following.
If the users clicks the back button, they can hit the submit again and the values will resubmitted and print a 2nd coupon. They could actually print as many coupon as they wanted from the same set of values.
Is there a way to clear the values after they have been submitted so that the back button does not save the values?
MikeSawt
Page one has a cfform and fields to be completed by the user.
Page two displays the values for review by the user prior to submission.
Page three submits the data and prints a coupon.
The application is working correctly and submits the data to my sql table. My question is the following.
If the users clicks the back button, they can hit the submit again and the values will resubmitted and print a 2nd coupon. They could actually print as many coupon as they wanted from the same set of values.
Is there a way to clear the values after they have been submitted so that the back button does not save the values?
MikeSawt