AUTH - Subdomains and cookies
| From: | Mario Callisto | Date: | Mon, 23 Feb 2009 19:50:23 +0000 |
| Subject: | AUTH - Subdomains and cookies | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-29720@lists.php.net to get a copy of this message | ||
Hi all,
I am using AUTH and would like to maintain the authentication of the
user through different subdomains (for example, login in a page under
www.foo.org page and then be redirected to a different page under
us.foo.org).
In my standard implementation this is not working; if I understood
correctly the "authchallenge" cookie is set with HOST "www.foo.org" and
not to ".foo.org", where it would be available on all subdomains of
foo.org
I haven't found in the documentation any related setting or proposed
workaround. Anyone can point me to the best and most correct solution
for this?
Thank you in advance.
Mario