I set cookie by the following statements:
$Month=2592000+time();
setcookie("username", $email, $month,"/","localdomain.com",0);
I can detect that it was set successfully because I can retrieve the
value of $_COOKIE['username']. However, when I shut down my browser
and access the website again, I find that I don't log in. It seems
that the website can not read the cookie value after the browser shuts
down. Any idea?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---