I tried this:
Response.Cache.SetExpires(Date.Now)
in the Page_Load event, but it didn't seem to work. I could still go back
to it with the back button.
You need to use Setcacheability property of the response object. That will
kill the back button dead in its tracks. Actually, the button will still be
there, after clicking it, you will get a message - page has expired from
cache.
The is no Response.Setcacheability property in ASP.
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.