越简单,越美好!More simpler more better

Cakephp cookie 管理  浏览:1511

2012-09-05

cakephp cookie

Cakephp已经提供CookieComponent,我们可以直接调用方法。方法有:write:写入cookieread:读取cookie中的内容delete:删除cookiedestroy:销毁所有cookie使用方法:先引入cookie库var$components=array(Cookie=>array(time=>2Days));写入cookie:$this->Cooki... 查看详细