codeigniter中cookie怎么设置和删除??
写网页的过程中,发现在codeigniter中设置的cookie在另外的页面中不能使用,也就是另外的页面isset后返回false。 同理,在另外的页面里调用setcookie('username', '', time()-3600);
setcookie('email', '', time()-3600);
setcookie('comments', '', time()-3600);
setcookie('facePath', '', time()-3600);
再另外一个页面中,cookie还是没有删除
我cookie的创建的调用
setcookie('username', $username);
setcookie('email', $email);
setcookie('comments', $comments);
setcookie('facePath', $facePath);
两个页面分别对应control中两个不同的类
怎么没有人遇到这个情况么》》》????
页:
[1]