Hi everyone,
I've got a cookie problem that i can't seem to solve. When my php script sets a cookie on my domain like so:
setcookie ("$cookiename", "$campid", time()+$cookielen, "/", ".domain1.com", 0);
I have no trouble accessing the cookie details from domain1.com using a pixel on my promotion registration page like so:
<img src="http://www.domain1.com/track/lead.php" width="1" height="1">
But when i place that pixel on domain2.com the lead.php script cannot access the cookie details.
Does anyone know why this is happening? I know you can't access cookies set on one domain from another domain but by using an img src tag to call the leap.php script on domain1.com i am not asking domain2.com to access the cookie surely.