Home|Sitemap|Contact

How can you disable the back button returning a page from cache after logoff?


If you are using .NET use
Response.Cache.SetCacheability(HttpCacheability.NoCache) Response.Cache.SetAllowResponseInBrowserHistory(False)




<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="author" content="Roderick Divilbiss">
<meta name="copyright" content="? 2005 Roderick Divilbiss">
<title>XXX</title>

<body>
<form method="post" action="dbbLogin.asp">
  <input type="submit" name="submit" value="Log Me On">
</form>
</body>
</html>