You can't set a cookie for a different domain or subdomain. If you set a
cookie for a domain and then goto to SSL then the cookie will still be
presented.

Regards

Jon
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969 Mob 07968 524175
PGP Key available, send blank email to [EMAIL PROTECTED]

----- Original Message -----
From: "Jason Radley" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, August 31, 2001 4:11 PM
Subject: [PHP] Cookies


> Does anyone know how to share cookies between servers.
> What I want to do is set a cookies on non secure server for a
> secure server.
> Here is
> setcookie("SessionID","$sessid",time() + 7200,"https://domainname.com";);
> Thanks
>
>


----------------------------------------------------------------------------
----


> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to