Re: stupid crosscookie function
| From: | Richard Lynch | Date: | Fri, 15 Dec 2000 22:01:17 +0000 |
| Subject: | Re: stupid crosscookie function | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-30598@lists.php.net to get a copy of this message | ||
I think maybe you can do it between different sub-domains (eg
www.domain1.com and www2.domain1.com) but not two different domains...
This is just a theory based on my limited reading of the Cookie spec and its
intent...
I don't really know.
----- Original Message -----
From: Delbono <delbono@dsc.it>
To: Richard Lynch <richard@zend.com>; <php-general@lists.php.net>
Sent: Friday, December 15, 2000 2:58 PM
Subject: R: [PHP] stupid crosscookie function
>
> Your information was correct. Now in-domain works.
>
> But crossdomain not..
>
> Do you thing this crosscookie might work?
>
> Nicola Delbono
> key5@key5.com
> Key5 di Delbono Nicola
> P.zza Cavour, 22
> 25038 Rovato (Bs)
> Tel 39 030 7241055
> Fax 39 030 7241055
> Cell. 0338 5071740
> -----Messaggio originale-----
> Da: Richard Lynch <richard@zend.com>
> A: php-general@lists.php.net <php-general@lists.php.net>
> Data: venerdì 15 dicembre 2000 17.45
> Oggetto: Re: [PHP] stupid crosscookie function
>
>
> >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
> >>
> >
> >
> >--
> >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
> >
> >
>
>