title: Destroying sessions with CakePHP
body: <p>I'm working with CakePHP 1.3. Presently I'm doing e-commerce application,there I have integrated paypal NVP API, where I can do online transaction through express checkout. </p>
  
  <p>Express checkout part is working fine, but session is not getting destroying even after logout. It is storing previous data. Please help me how to destroy session data. Here is my code for logout method.</p>
  
  <pre><code>function logout()
  {
      $this-&gt;Session-&gt;destroy();
      $this-&gt;redirect('index'); 
  }
  </code></pre>
  
  <p>I tried with <code>Session-&gt;delete();</code> also but its not working. </p>