Re: AUTH - Subdomains and multiple domains on the same IP
| From: | Christian Weiske | Date: | Sat, 04 Jul 2009 05:46:11 +0000 |
| Subject: | Re: AUTH - Subdomains and multiple domains on the same IP | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-29918@lists.php.net to get a copy of this message | ||
Hello Mario,
> Now I am hitting another wall, where, instead of different
> subdomains, I am trying to use different domains
> (for example, login in a page under www.foo.org page and then be
> redirected to a different page under www.foo.net)
>
> But I found a problem at the very root: when directly logging in
> under the new domain, let's say www.foo.net/login.php, checkAuth()
> method simply returns FALSE; where www.foo.org/login.php or
> us.foo.org/login.php just works fine.
Cookies are not shared across domains. You may share them across one
domain (so they work for multiple subdomains), but not across multiple
domains.
--
Regards/Mit freundlichen Grüßen
Christian Weiske
-= Geeking around in the name of science since 1982 =-
Attachment: [application/pgp-signature] signature.asc
Attachment: [application/pgp-signature] signature.asc