Have fun doing that. You need to find a SSO (Single Sign On) solution. If you look at a beast like Google you will see that even their seperate domains redirect to a sub-domain such as mail.google.com

This keeps the session cookie at one domain *.google.com

There are solutions out there but they are clunky from what I have seen.

Joseph Crawford

On Oct 2, 2008, at 4:25 PM, José de Menezes Soares Neto wrote:

Hello my friends,

I have two sites:

www.sitea.com
www.siteb.com

I would like to authenticate the user only at www.sitea.com and he will have access to www.siteb.com.

At sitea, if user is not logged in, it showns sign up form, otherwise it shows "logged with success" just for sinalization.

At siteb, if user is not logged in, it redirects to sitea, otherwise it shows "hello, welcom back".

It is like Google Accounts... which is the best way to do that?

Regards,

José

Reply via email to