title: cake php session cookie variable not getting created in localhost
body: <p>i have a cake php project that's works like charm on production linux server.</p>
  
  <p>my code from core.php for session handler :</p>
  
  <pre><code>Configure::write('Session', array(
              'defaults' =&gt; 'cake',
              'cookieTimeout' =&gt; 0,
              'cookie' =&gt; 'mybeautifulsession'
  ));
  </code></pre>
  
  <p>when I inspect element i find that there is a cookie with name mybeautifulsession generated for my domain on live.
  When same code is executed on localhost, this variable is not being generated as a result my auth component is not working and keeps me redirecting to login page.</p>
  
  <p>How do i get this to work ? What am I missing ? Something pretty stupid for sure.</p>
  
  <p>Thanks</p>