Sudheer,
Another simple alternative is to pass the id to each site, and then make a 
cookie out of the id. If the user has the cookie then they authenticate, else, 
send them back to sign in at my.example2.com

Sincerely,
rob
http://phpyellow.com

===
Sudheer wrote:
>Date: Mon, 04 Jun 2007 08:06:52 +0530
>From: Sudheer Satyanarayana <[EMAIL PROTECTED]>
>To:  php-general@lists.php.net
>Subject: Single Sign On
>Hi,
>
>We have three web sites
>a) example1.com
>b) example2.com
>c) my.example2.com
>
>
>Our sites include exclusive pages for registered users. All user account
>management tasks are handled by my.example2.com including registration,
>modification, cancellation, etc.  We would like to create a single sign
>on system for all the three web sites. The user would sign on with a
>single username and password to all three web sites. For example, when
>the user visits a membership page in example1.com he would be prompted
>to sign on to his account.  His credentials are stored in
>my.example2.com.  my.example2.com is now fully functional. After the
>successful sign on, the user would be redirected to original membership
>page in example1.com.
>
>How would I pass the information from my.example2.com to example1.com
>about the authentication status of user?
>
>We use MySQL database to store and retrieve user account details in
>my.example2.com. The web host does not allow remote database connections.
>
>Thanks,
>Sudheer 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to