Hi all,
I've done a bit of research on the Web before posting this question, but couldn't find a suitable answer.
I have a series of PHP web pages with a POST FORM each. I want the users to be able to navigate from one page to the other, and I have done this with no problem passing variables as GET arguments.
The problem is that if the user presses the browser's back button, a message pops up saying:
The page you are trying to view contains POSTDATA that has expired.... To resend the data press OK
My question is: is there an easy way to avoid this message from appearing?.
I tried using the following as a means to achieve this but didn't work:
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
I am using Firefox as my testing browser.