I login in my system and set a cookie this way:
setcookie("hello",true,time()+3600);
Then I look in the cookie manager of firefox and see that my cookie is set.
When I restart my browser and restart I see in the cookie manager that the cookie is ther but this code:
if(isset($_COOKIE['hello'])){
echo "yes"; exit;}
I don't see anything it redirects me to the login form. Does anyone know what's going on?