How can I let a page expire? I don't want customers to go back to my order page after clicking on the submit button. Letting the cookie expire does not fit this situation.😕
Use a session:
session_start(); if(!isset($_SESSION['active'])){ die("This page has expired - you may not go back to the order page after clicking submit!"); }
The above code is just a little boost to start you off.
Thank you my friend. You made the day - no, the year!
Lol, I'm glad to help you.