Hi,
I am designing a simple online store and I am now facing 2 problems.
1) after the user make their selection they go to a page “fillform.php” where they fill in billing and shipping details. when the form is validated and submitted they go to a page “confirm.php” which inserts the order into the right tables, confirms the order and redirects them to a transaction processing website for credit card validation. The problem is that if the user clicks the browser back button at the confirm.php page they go back to the fillform where the form is already filled. If they click submit again, the same order is inserted again into the database. How can I prevent this?
2) How can I prevent the user from taking the url of any page of the buying process and accessing it using another browser.
By the way, I am not using sessions, I am still reading about them and I am not sure if they are related to the problems I am having but I need to fix the above quickly as my deadline is approaching fast.
thank you