2010-09-23 84 views
0

如果1 Cookie由$this->Cookie->write('Rating', $cookie, true, '+1 months'); 15天創建後,我讀:CakePHP的:關於Cookie的問題過期

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

然後現在到期的評價餅乾爲15天或1一個月?

回答

0

它應該仍然是1個月。