title: Cakephp Unconventional Session
body: <p>Hi Im a newbie in cakephp and I found something unusual in cakephp2.x session. Can somebody explain to me what does this session code means:</p>
  
  <pre><code>$session-&gt;write('example') = $post['Post']['user_id];
  </code></pre>
  
  <p>I already know the basic syntax of session which is:</p>
  
  <pre><code>//controller
  $this-&gt;Session-&gt;write('Person.eyeColor', 'Green');
  //This writes the value ‘Green’ to the session under Person =&gt; eyeColor
  </code></pre>
  
  <p>but couldn't figure out what does the first code means.
  PS sorry for the dumb question, still figuring out cakephp. Thnx</p>