title: Disable access to pages after logout (Session.Abandon) in C#/ASP.NET
body: <p>I'm interested in disallowing the following after logout:</p>
  
  <p>-- no back button</p>
  
  <p>-- no direct access to pages via URL - for example: if the user logs out then they should not be allowed to see a cached page using some URL (e.g., replacing the URL with a valid URL in the site <a href="http://mysite.com/Gotothispage.aspx" rel="nofollow noreferrer">http://mysite.com/Gotothispage.aspx</a>)</p>
  
  <p>I've seen similar questions like this one: <a href="https://stackoverflow.com/questions/589285/how-to-disable-back-button-in-browser-when-user-logout-in-asp-net-c">How to disable the back button in browser when user logout in asp.net c#</a></p>
  
  <p>I know that I can set no cache on the master page, but then I lose the ability to use the back button when the user is actually logged in.  Am I correct in this understanding?</p>