I deleted my browsing history and I was able to view cookies in IE8.
My cookie was not there, so Cake / PHP is not writing cookies.
 
I tried setting the domain as follows:
$this->Cookie->domain = $_SERVER['SERVER_NAME'];
... which sets it to "localhost".  And then I tested again and I looked at 
the cookies.
Still my cookie was not listed.
 
These are the settings I now have:
  $this->Cookie->name = 'epd_cookie';
  $this->Cookie->time = '365 Days';
  $this->Cookie->path = '/';
  $this->Cookie->domain = $_SERVER['SERVER_NAME'];
  $this->Cookie->secure = false;
  $this->Cookie->key = '<confidential>';
  $this->Cookie->httpOnly = false;
 

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to