title: RUpdate/refresh session variable on CakePhp
body: <p>I'm having a problem with Cake Sessions. </p>
  
  <p>In one of my views, I'm showing a value using <code>$session-&gt;read('User.image')</code> </p>
  
  <p>When the user logs in, the Session is created and everything goes fine. But when the user update the image, the Session variable is not updated. </p>
  
  <p>I'm trying to do the following in the controller in which I'm saving the new image:</p>
  
  <pre><code>$this-&gt;User-&gt;save($data);
  $this-&gt;Session-&gt;delete('User.image');
  $this-&gt;Session-&gt;write('User.image', $data['User']['image']);
  </code></pre>
  
  <p>If I print <code>$this-&gt;Session-&gt;read('User.image')</code> right in the controller, the updated value is shown correctly. But the image in the header is the same that before until the user login again. </p>
  
  <p>I've already changed the config so cake can save the sessions files in the cake tmp folder so I can write without problems... but it doesn't seems enough.</p>
  
  <p>How can I refresh the Session variable all across the app?? I'm on cake 1.2 branch</p>
  
  <p>Thanks!!</p>