stupid crosscookie function
| From: | (Delbono) | Date: | Fri, 15 Dec 2000 09:31:33 +0000 |
| Subject: | stupid crosscookie function | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-30487@lists.php.net to get a copy of this message | ||
Hello
it is possible to push a cookie to another domain?
I'm in www.domain1.com
Can I set:
setcookie ("TestCookie", "5000",time()+3600,"",
".domain2.com", 1);
So I could read it from the domain2.com I could pass values between
different sites using cookies :-)
I tried but I have problems also specifying domain1.com as the domain in the
cookie..
Cookies only works without additional parameters..
setcookie ("TestCookie1", "325",time()+3600);
so i could'nt check proper domain cookie and neither cross domain coookie
By the way, any advice on this malfunction of my SetCookie?
Thanks
Nicola