Re: stupid crosscookie function
| From: | Richard Lynch | Date: | Fri, 15 Dec 2000 16:54:41 +0000 |
| Subject: | Re: stupid crosscookie function | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-30532@lists.php.net to get a copy of this message | ||
Try a path of "/" instead of "".
----- Original Message -----
From: Delbono <delbono@dsc.it>
Newsgroups: php.general
Sent: Friday, December 15, 2000 4:14 AM
Subject: [PHP] stupid crosscookie function
>
> 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
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>