title: CakePHP session lost in Safari and IE between pages on Facebook
body: <p>I'm developing a Facebook app on CakePHP framework and I'm trying to do one simple thing:</p>
  
  <pre><code>// get user
  $user = $this-&gt;Facebook-&gt;api('/me');
  
  // store the user id into session
  $this-&gt;Session-&gt;write('User.id', $user['id']);
  </code></pre>
  
  <p>But as soon as I change page the session is lost in Safari and I cannot get the id from the session no matter what.</p>
  
  <p>I have found numerous solutions here and on other forums tried them all, but I haven't managed to solve this problem. Nothing works for me or I have been doing it wrong... Anyone managed to found a working solution for this?</p>
  
  <p>Any help would be really appreciated, thnx.</p>