Hey all,
I am having some troubles setting cookies at the moment wondering if
anyone knows the solution.
Anyhow basically what is happening, is that cookies are been set fine,
however say I try to set two cookies in the one script
i.e.
setcookie("username", $HTTP_POST_VARS['username'], time()+31536000);
setcookie("password", $HTTP_POST_VARS['password'], time()+31536000);
only the cookie that was called last, i.e. 'password' will be set. I
only started noticing this problem since I installed php4.2 and
apache2.0, is that the cause? Has anyone shared a similar experience,
and if so is there a fix? Thanks for your time as always.
Regards,
Scott