Hi,
In ASP you can prevent a user from using the back button, in order to vistit a page that requires logon, by writing:
Response.Buffer = True
Response.ExpiresAbsolute = Now() - 1
Response.Expires = 0
Response.CacheControl = no-cache
Is there something similar to this in PHP?
I've tried to unset my login session with
unset($_SESSION['name']; but if I click the back button I can still view the page. I'd like the 'page is no longer valid'-page to show instead...
Thanks