Re: Cookies
| From: | Jon Farmer | Date: | Fri, 31 Aug 2001 15:31:07 +0000 |
| Subject: | Re: Cookies | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-65494@lists.php.net to get a copy of this message | ||
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 pgpkey@bctech.co.uk
----- Original Message -----
From: "Jason Radley" <php@streamlineinternet.com>
To: <php-general@lists.php.net>
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: 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