Advanced header tags and usage
Posted: Fri Jun 06, 2003 8:48 am
header("Cache-Control: no-store, no-cache, must-revalidate");
Where do i put this, anywhere in the middle of the script it does nothing, do i use it upon redirection for instance somehow integrate it with Location:
if so how would it look like?
header("Location: http://site.com","Cache-Control: no-store, no-cache, must-revalidate");
or
header("Location: http://site.com,Cache-Control: no-store, no-cache, must-revalidate");
thanks... i am trying to disallow people from pressing the "Back" button on top of their browser...
Where do i put this, anywhere in the middle of the script it does nothing, do i use it upon redirection for instance somehow integrate it with Location:
if so how would it look like?
header("Location: http://site.com","Cache-Control: no-store, no-cache, must-revalidate");
or
header("Location: http://site.com,Cache-Control: no-store, no-cache, must-revalidate");
thanks... i am trying to disallow people from pressing the "Back" button on top of their browser...