title: session logout in asp.net
body: <p>I have a login page(default.aspx) followed by 2 asp.net pages(page1.aspx,page2.aspx) 
  under a masterpage with logout button. When I click logout,it makes the session null and hence logout.</p>
  
  <p>But after logging out when I put the url of page1.aspx in the address bar, it displays the page(page1.aspx) again.</p>
  
  <p>My code for logout button:</p>
  
  <pre><code>Session["id"] = null;
  Response.Redirect("Default.aspx");
  Response.Cache.SetNoStore();
  Response.CacheControl = "no-cache";
  </code></pre>