R: [PHP] stupid crosscookie function
| From: | (Delbono) | Date: | Fri, 15 Dec 2000 20:58:01 +0000 |
| Subject: | R: [PHP] stupid crosscookie function | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-30584@lists.php.net to get a copy of this message | ||
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
>
>