Forum Moderators: open
I use PHP & HTML and I have a form which is contained entirely in a single php file.
The issue is that I cannot disable caching so going to the url with this form will keep producing the last results of the submit.
The following code seemed to have an effect initially but ultimately does not work.
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="no-cache">
<meta http-equiv="Expires" content="-1">
<meta http-equiv="Cache-Control" content="no-cache">
Someone please help
...seemed to have an effect initially but ultimately does not work.
It's not clear to me whether the issue is client-side or server-side. Would you tell us a bit more about how it fails? Do you mean that after many returns to the page, you've confirmed that the browser begins to cache the page, despite the pragma tag?
ADDED LATER:
situation resolved in our PHP forum --
[webmasterworld.com...]