[eluser]Unknown[/eluser]
Hi,
i'm using CI2.0.2 i have some strange problems on this moment with set_cookie function
My array for the cookie
Code:
$ArrayCookieUT = array('name' => 'test',
'value' => 'test',
'expire' => 'test',
'domain' => 'www.my-domain.com',
'path' => '/',
'prefix' => 'test_',
'secure' => TRUE);
if (!get_cookie('test')) {
if(set_cookie($ArrayCookieUT) == FALSE){
echo"cookie not set CookieUT";
}
}
Can anyone tell me why this isnt working, if i try outside ci in an normal php on the server the cookie has been set..
Please some help i appreciate.
David