Nope, back is cached in the browser.
There are two ways, prevent it with javascript, or:
put in the page u dont want to be cached <meta http-equiv="pragma" content="no-cache"> en the rest, must revalidate etc.
In this way the page must be loaded from the server.
the in that page check the referrer, if it is the last page mentioned, put the error message on the screen and die.
For exact meta statements you have to consult another resource, dont have any at hand.
Good luck mcvdmvs
"It never hurts to help" -- Eek the Cat
check for a session variable when the page is loaded.. if it shows that the user has been there, echo a "you cant do that", otherwise, set the session var and display the page as planned. when the user tries to come back to the page (assuming you use all the no-cache headers you can), it'll detect the session var and give them a "you cant do that" error.
this is the best way to do it, short of storing each of the user's actions... this gets messy though. sessions are so easy! -gerrygerry
Go To
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.