when I try this code on PHP 4.3.1:
<?
setcookie("da1","da1");
if($action != "logout"){ $somevalue = "yes"; }
setcookie("da2","da2");
?>
Only the first cookie is set. and if i delete the if($action != "logout"){ $somevalue = "yes"; } then and the second cookie is set 😕 I don't understand why is this happening 🙁 . Any Ideas ?
PS. With the old version of PHP this was working.