title: How to access the session variable in the controller
body: <p>I have created a session variable in one controller and I want to access it in another controller. In <code>loginsuccess</code> controller I set the session: </p>
  
  <pre><code>$session-&gt;set('id',$id);
  </code></pre>
  
  <p>How can I access this variable in another controller?</p>