[PHP] Multiple Domains in cookie?

2002-09-28 Thread Tony Harrison

Is it possible to specify more than 1 domain in a cookie?
-
[EMAIL PROTECTED]
http://www.cool-palace.com


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Multiple Domains in cookie?

2002-09-28 Thread debbie_dyer

Is this because you have domain aliases?

Debbie

- Original Message - 
From: Tony Harrison [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, September 28, 2002 10:25 AM
Subject: [PHP] Multiple Domains in cookie?


 Is it possible to specify more than 1 domain in a cookie?
 -
 [EMAIL PROTECTED]
 http://www.cool-palace.com
 
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Multiple Domains in cookie?

2002-09-28 Thread Julien Bonastre

GREAT Q!

I have been trying to play with my cookies for a while now for this same
reason..

And to no avail..

It seems due to the structure of them and as long as the client (browser)
sticks to the specifications you can only access a cookie belonging to that
same host..

For example, I am starting up a large network site base but I wanted all
the sites even though they have their own unique domain to be able to have a
global member login system.. Catch is.. The only way for them to be able to
login to one site and then be able to freely go to another completely diff.
site also on our network they would still be logged in and hence they have
this main ONE account that allows them access  to all our network sites..

So I studied the workings behind Terra Lycos and found their trick quite
easily.. Since they have basically this same concept they too had to find a
solution..


And their's is very close to mine :) I had thought.. since it's HOST
specific. Not the full domain.. that means that cookies only differentiate
between: aaa.com and bbb.com..

But not: one.aaa.com or two.aaa.com

Therefore to create ONE cookie you set it's host for aaa.com and that way
all your other site domains can be redirectors to the subdomain..

Ie.. if you have aaa.com as your main site and bbb.com and ccc.com just make
those other two point to: bbb.aaa.com and ccc.aaa.com  respectively..

Don't think it's unpro because that's exactly what Terra Lycos does..

For eg.. Checkout www.webmonkey.com (I'm sure many of you already know it)
you soon see you'll be transported to: www.hotwired.lycos.com/webmonkey

This is because not only is webmonkey part of Terra lycos.. It's also under
HotWired..

Then I thought.. No way.. that can't be their trick surely??

Yep.. Checkout all their other sites..

More examples: www.angelfire.com goes to angelfire.lycos.com and tripod.com
goes to tripod.lycos.com

it seems this is the idea.. that way.. if they login.. just set some details
(perhaps the SESSID so you can easily jsut reload the session on the other
sites) on for example lycos.com as the domain and then all the subdomains
can also use this freely..

Use your domains as redirectors and you get a sweet system.. :)


HIH
--oOo---oOo--

 Julien Bonastre [The_RadiX]
 The-Spectrum Network CEO
 [EMAIL PROTECTED]
 www.the-spectrum.org

--oOo---oOo--
- Original Message -
From: Tony Harrison [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, September 28, 2002 7:25 PM
Subject: [PHP] Multiple Domains in cookie?


 Is it possible to specify more than 1 domain in a cookie?
 -
 [EMAIL PROTECTED]
 http://www.cool-palace.com


 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Multiple Domains in cookie?

2002-09-28 Thread @ Saif @

Please how can I unsubscribe .



Regards
Saif Yousif


 No God
except AllahMohammed is profit of Allah

- Original Message -
From: Julien Bonastre [EMAIL PROTECTED]
To: [EMAIL PROTECTED] [EMAIL PROTECTED]; Tony Harrison
[EMAIL PROTECTED]
Sent: Saturday, September 28, 2002 3:21 PM
Subject: Re: [PHP] Multiple Domains in cookie?


 GREAT Q!

 I have been trying to play with my cookies for a while now for this same
 reason..

 And to no avail..

 It seems due to the structure of them and as long as the client (browser)
 sticks to the specifications you can only access a cookie belonging to
that
 same host..

 For example, I am starting up a large network site base but I wanted all
 the sites even though they have their own unique domain to be able to have
a
 global member login system.. Catch is.. The only way for them to be able
to
 login to one site and then be able to freely go to another completely
diff.
 site also on our network they would still be logged in and hence they have
 this main ONE account that allows them access  to all our network sites..

 So I studied the workings behind Terra Lycos and found their trick quite
 easily.. Since they have basically this same concept they too had to find
a
 solution..


 And their's is very close to mine :) I had thought.. since it's HOST
 specific. Not the full domain.. that means that cookies only differentiate
 between: aaa.com and bbb.com..

 But not: one.aaa.com or two.aaa.com

 Therefore to create ONE cookie you set it's host for aaa.com and that way
 all your other site domains can be redirectors to the subdomain..

 Ie.. if you have aaa.com as your main site and bbb.com and ccc.com just
make
 those other two point to: bbb.aaa.com and ccc.aaa.com  respectively..

 Don't think it's unpro because that's exactly what Terra Lycos does..

 For eg.. Checkout www.webmonkey.com (I'm sure many of you already know it)
 you soon see you'll be transported to: www.hotwired.lycos.com/webmonkey

 This is because not only is webmonkey part of Terra lycos.. It's also
under
 HotWired..

 Then I thought.. No way.. that can't be their trick surely??

 Yep.. Checkout all their other sites..

 More examples: www.angelfire.com goes to angelfire.lycos.com and
tripod.com
 goes to tripod.lycos.com

 it seems this is the idea.. that way.. if they login.. just set some
details
 (perhaps the SESSID so you can easily jsut reload the session on the other
 sites) on for example lycos.com as the domain and then all the subdomains
 can also use this freely..

 Use your domains as redirectors and you get a sweet system.. :)


 HIH
 --oOo---oOo--

  Julien Bonastre [The_RadiX]
  The-Spectrum Network CEO
  [EMAIL PROTECTED]
  www.the-spectrum.org

 --oOo---oOo--
 - Original Message -
 From: Tony Harrison [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Saturday, September 28, 2002 7:25 PM
 Subject: [PHP] Multiple Domains in cookie?


  Is it possible to specify more than 1 domain in a cookie?
  -
  [EMAIL PROTECTED]
  http://www.cool-palace.com
 
 
  --
  PHP General Mailing List (http://www.php.net/)
  To unsubscribe, visit: http://www.php.net/unsub.php
 
 


 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Multiple Domains in cookie?

2002-09-28 Thread @ Edwin

You mean from this list? Please take a loot at the end of this e-mail...

- E

On Thursday, July 27, 2000 11:36 AM
 Saif  wrote:

 Please how can I unsubscribe .
 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Multiple Domains in cookie?

2002-09-28 Thread Chris Shiflett

Nope, but you can have more than one host per domain (foo.php.net, 
bar.php.net, etc.).

Tony Harrison wrote:

Is it possible to specify more than 1 domain in a cookie?



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] Multiple Domains in cookie?

2002-09-28 Thread Gareth Hastings

or you just have something like

login.myhost.com

and all your sites use that to authenticate the user. In your php login
script you can just see which site they came back from and then on a
successful login you just redirect them back to that one. You wouldn't
need to use cookies. You could make your own session ID. I thik owning
say subdomain.mydomain.com and having it point to
www.asite.com/mydomain/subdomain doesn't look as good. The PHP needed to
do something like this would be fairly simple too.

-Original Message-
From: Julien Bonastre [mailto:[EMAIL PROTECTED]] 
Sent: Saturday, September 28, 2002 8:22 AM
To: [EMAIL PROTECTED]; Tony Harrison
Subject: Re: [PHP] Multiple Domains in cookie?

GREAT Q!

I have been trying to play with my cookies for a while now for this same
reason..

And to no avail..

It seems due to the structure of them and as long as the client
(browser)
sticks to the specifications you can only access a cookie belonging to
that
same host..

For example, I am starting up a large network site base but I wanted
all
the sites even though they have their own unique domain to be able to
have a
global member login system.. Catch is.. The only way for them to be able
to
login to one site and then be able to freely go to another completely
diff.
site also on our network they would still be logged in and hence they
have
this main ONE account that allows them access  to all our network
sites..

So I studied the workings behind Terra Lycos and found their trick quite
easily.. Since they have basically this same concept they too had to
find a
solution..


And their's is very close to mine :) I had thought.. since it's HOST
specific. Not the full domain.. that means that cookies only
differentiate
between: aaa.com and bbb.com..

But not: one.aaa.com or two.aaa.com

Therefore to create ONE cookie you set it's host for aaa.com and that
way
all your other site domains can be redirectors to the subdomain..

Ie.. if you have aaa.com as your main site and bbb.com and ccc.com just
make
those other two point to: bbb.aaa.com and ccc.aaa.com  respectively..

Don't think it's unpro because that's exactly what Terra Lycos does..

For eg.. Checkout www.webmonkey.com (I'm sure many of you already know
it)
you soon see you'll be transported to: www.hotwired.lycos.com/webmonkey

This is because not only is webmonkey part of Terra lycos.. It's also
under
HotWired..

Then I thought.. No way.. that can't be their trick surely??

Yep.. Checkout all their other sites..

More examples: www.angelfire.com goes to angelfire.lycos.com and
tripod.com
goes to tripod.lycos.com

it seems this is the idea.. that way.. if they login.. just set some
details
(perhaps the SESSID so you can easily jsut reload the session on the
other
sites) on for example lycos.com as the domain and then all the
subdomains
can also use this freely..

Use your domains as redirectors and you get a sweet system.. :)


HIH
--oOo---oOo--

 Julien Bonastre [The_RadiX]
 The-Spectrum Network CEO
 [EMAIL PROTECTED]
 www.the-spectrum.org

--oOo---oOo--
- Original Message -
From: Tony Harrison [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, September 28, 2002 7:25 PM
Subject: [PHP] Multiple Domains in cookie?


 Is it possible to specify more than 1 domain in a cookie?
 -
 [EMAIL PROTECTED]
 http://www.cool-palace.com


 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] Multiple Domains in cookie?

2002-09-28 Thread Gareth Hastings

Oops, sorry, forgot to turn off read receipt before I posted.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php