title: How to make pages to not get cached when logged in
body: <p>Im using wamp server for my php scripts. And Im having difficulties on the logout code.
  Every time I click on the logout link and then click on the back button on web browser it still shows the page which can only be access by the user who is logged in.
  I have this code at the beginning of the index.php which is called by the log out link to destroy the session:</p>
  
  <pre><code>&lt;?php
  session_start();
  session_destroy();
  
  
  ?&gt;
  </code></pre>
  
  <p>And I have this at the beginning of the  user page:</p>
  
  <pre><code>&lt;? 
  session_start();
  if(!session_is_registered(myusername)){
  header("location:login.php");
  }
  ?&gt;
  </code></pre>
  
  <p>I don't know why the userpage can still be access after the user has logged out.</p>
  
  <p>As an another note will disabling the back-button for this can solve the problem
  Please help.</p>