I am currently working on a project spanning multiple domains. I want the user to be able to log in to one site and log in to everyone else at the same time.
The user session is stored in the database, the cookies that I set for each domain contain the session ID.
Thus, basically, when a user registers with example.com, a cookie is created with a session identifier, and session data is stored in the database. Once this is done, a cookie must be created in all other domains using this unique session identifier so that when a user moves from site to site, they are automatically logged in.
Now I have found a way to do this in Firefox (using image tags that execute PHP scripts on other domains, essentially creating different cookies in different domains), but this method does not work in IE (havn't tested by Opera or Safari, etc. .d.).
Does anyone have any ideas on how I can get this to work in IE?
php login single-sign-on multiple-domains
user48526
source share