开发者

CakePHP: question about Cookies expire

if 1 cookie is create by $this->Cookie->write('Rating', $cookie, true, '+1 months'); after 15 day, I read :

 $this->Cookie->read('Rating');
    do somthing .... this   
$this->开发者_StackOverflowCookie->write('Rating', $cookie, true, '+1 months');

Then now expire of rating cookies is 15 days or 1 month ?


It should still be 1 month.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜