Re: [a bit OT but not] Authentication across realms
| From: | J!M | Date: | Tue, 29 Aug 0000 16:47:39 +0000 |
| Subject: | Re: [a bit OT but not] Authentication across realms | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-14269@lists.php.net to get a copy of this message | ||
You can dynamically add a user's PHPSESSID or other identifier
to the URL. If all of the sites are on the same server, its easy to
share an Auth DB/table, if not, you'll need to sync the auth info in
some way.
HTH,
J!M
> I have a portal site, www.portal.com
> that is a portal to
> www.his-site.com
> www.her-site.com
> www.their-site.com
>
> all 3 having the same login ID and password for
> a particular user. Is there any way that can be
> set up so that a user would go to www.portal.com,
> login in and link to any of the other sites and be
> already logged in (by virtue of having already
> logged in on www.portal.com)?
>
> I know it cannot be done using HTTP Auth unless
> you use the same "realm" (and even then, I'm not
> so sure) and I know you cannot use cookies because
> they work using the host name (ie, www.portal.com
> or portal.com). Am I wrong with the above? If
> not, is there any other way?
> Using PHP?
>
> Chris
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>