<?php
setcookie ("affilate", $af);
setcookie ("affilate", $af,time()+3600);
setcookie ("affilate", $af,time()+3600, ".domain.com", 1);
echo $affilate;
echo $_COOKIE["affilate"];
?>
It works fine on my http connection but when it is on my https it craps its pants.
I thought the 1 set it as a secure cookie?
Thanks
Anthony