I'm trying to set a cookie on a https url, then meta refresh to a http url and have that cookie work on the http pages...but it's not working. here's what i've got:
Code: Select all
$cookieDuration = time() + 3600;
$whichPath = "/";
$whichDomain = ".somesite.com";
setcookie ("const", "var",$cookieDuration,$whichPath,$whichDomain);