Re: [PHP] Setting cookies for other domains

2005-03-19 Thread Jason Wong
On Friday 18 March 2005 10:32, Brian Dunning wrote: > > I suspect it's > > for sub-domains of sites you administer and not completely different > > domains altogether. > > If this is true, and it's not possible for a site to set a cookie for a > completely different domain, then why do browsers hav

Re: [PHP] Setting cookies for other domains

2005-03-18 Thread Scott Haneda
on 3/18/05 5:47 AM, Brian Dunning at [EMAIL PROTECTED] wrote: >> You are misinterpreting the prefs in browsers, they can not do what >> you ask. > > That's fine, I'm perfectly willing to accept this - but can someone > explain what the pref IS for? you have not said which browser and what pref y

Re: [PHP] Setting cookies for other domains

2005-03-18 Thread Brian Dunning
You are misinterpreting the prefs in browsers, they can not do what you ask. That's fine, I'm perfectly willing to accept this - but can someone explain what the pref IS for? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Setting cookies for other domains

2005-03-18 Thread Scott Haneda
on 3/17/05 6:32 PM, Brian Dunning at [EMAIL PROTECTED] wrote: >> I suspect it's >> for sub-domains of sites you administer and not completely different >> domains altogether. > > If this is true, and it's not possible for a site to set a cookie for a > completely different domain, then why do bro

Re: [PHP] Setting cookies for other domains

2005-03-17 Thread Brian Dunning
I suspect it's for sub-domains of sites you administer and not completely different domains altogether. If this is true, and it's not possible for a site to set a cookie for a completely different domain, then why do browsers have security options to allow or prevent this specific action? I'm thi

Re: [PHP] Setting cookies for other domains

2005-03-17 Thread Chris Shiflett
Brian Dunning wrote: I've always known that you can specify a domain when you set a cookie, and for kicks I experimented with a test page setting a cookie for the yahoo.com. Seems to me that browsers wouldn't allow this as it could create any number of security problems. This is why the specificati

RE: [PHP] Setting cookies for other domains

2005-03-17 Thread Chris W. Parker
Brian Dunning 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 >

[PHP] Setting cookies for other domains

2005-03-17 Thread Brian Dunning
I've always known that you can specify a domain when you set a cookie, and for kicks I experimented with a test page setting a cookie for the yahoo.com. Seems to me that browsers wouldn't allow this as it could create any number of security problems. I tried the following code, and the yahoo co