Re: Re: Central authentication for multiple sites
| From: | Fraser Campbell | Date: | Mon, 29 Sep 2003 19:46:45 +0000 |
| Subject: | Re: Re: Central authentication for multiple sites | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-164293@lists.php.net to get a copy of this message | ||
On Monday 29 September 2003 15:33, Kevin Stone wrote:
> If all domains have access to the same database then there is absolutely
> nothing preventing you from using a Cookie. Have a normal login on
> Domain1.com. Once authenticated produce a random ID and store it in the
> database. Store the ID in a cookie then Redirect the client to the desired
> domain. The page the client is redirected to checks to see if the ID
Ok. So then the client has a cookie set for www.domain1.com, when I redirect
him to www.domain2.com why would his browser send me the cookie? I think I'm
missing something ...
--
Fraser Campbell <fraser@wehave.net> http://www.wehave.net/
Halton Hills, Ontario, Canada Debian GNU/Linux