RE: [PHP] Setting cookies for other domains
| From: | Chris W. Parker | Date: | Fri, 18 Mar 2005 01:18:59 +0000 |
| Subject: | RE: [PHP] Setting cookies for other domains | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-211005@lists.php.net to get a copy of this message | ||
Brian Dunning <mailto:brian@briandunning.com>
on Thursday, March 17, 2005 4:45 PM said:
> Question: why didn't this work, is it supposed to work the way I was
> trying, and if not, then what is that domain variable there for???
Answer:
> Seems to me that browsers wouldn't allow this as it could
> create any number of security problems.
Nonetheless, I've never really used the domain option but I suspect it's
for sub-domains of sites you administer and not completely different
domains altogether.
Read here: http://wp.netscape.com/newsref/std/cookie_spec.html
HTH,
Chris.