Re: Single Sign On
| From: | info at phpyellow dot com | Date: | Mon, 04 Jun 2007 09:15:23 +0000 |
| Subject: | Re: Single Sign On | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-256040@lists.php.net to get a copy of this message | ||
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 <sudheer.s@binaryvibes.co.in>
>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