Oops. in the example, I meant to say
www.domain1.com (Set Cookie)
www.domain2.com (Retrieve Cookie)
I have been working with cookies for the past two days using IE 6. I am having the following problem.
On www.domain1.com , I set the cookie in PHP like so...
setcookie ("CookieName", $Value,time() +3600); // 1 Hr. Expiration
It seems to work fine when retrieving the cookie on the same domain using a print command in a php page.
print "$CookieName";
However, the same print command in a php page on a different domain, ( www.domain2.com ) shows a blank variable. It will not read the variable on a different domain.
Is there a way to set a cookie using setcookie() to make it able to be read on a different domain??
Example:
www.domain1.php (Set Cookie)
www.domain2.php (Retrieve Cookie)
I have read every listing in the forum search here at phpbuilder.com and I have also read the PHP manual. But, I am a little lost here.
Thanks