Hi, I added on to an older thread but I thought I'd start over and be more concise:
I have form that submits to the same page, and if HTTP_POST_VARS (the form collection) is present, then it adds to the database. Then typically the user clicks on some other link. If the user hits "back" in the brower, he gets this message:
Warning: Page has Expired The page you requested was created using information you submitted in a form. This page is no longer available. As a security precaution, Internet Explorer does not automatically resubmit your information for you.
To resubmit your information and view this Web page, click the Refresh button.
Someone suggested putting a meta tag in "Expires", but this has not worked.
I used to prgram in ASP (gladly converted to php) and this would usually not happen. Any ideas as to how to prevent it?
FYI here is the tag I tried to generate that didn't work:
$exp = '<META HTTP-EQUIV="Expires" CONTENT="' . date('r', time()+3600) . '">';
echo $exp;