I needed ideas for page expiry for security.
I made a page that checks the $_POST and see whether the password is correct. If it's correct, it'll display the page. If not, the user will be directed to another page.
1 thing is that after this page has been accessed, the user can use the back function on the browser to access the page again. If you need to see what I mean, my testing page is here: http://eddy05.sytes.net/wc3Replays/index.php
and try the text field. The temporary password is abcxyz.
I need ideas on how to make the page expire after using it. Thank you very much.