|
$this->load->helper('cookie');
$cookie = array(
'name' => 'username',
'value' => $res[1],
'expire'=>'86500',
'Domain' => 'localhost',
'path' => '/',
'prefix' => 'camcl_'
);
set_cookie($cookie);
echo "sdfdsfsadf".get_cookie('username',true);
我在ie缓存目录里就是看不到cookie 获取也获取不到!!请高手指点!!! |
|