Jump to content

login to one website from another?


michaellunsford

Recommended Posts

By default PHP uses a cookie to store the PHPSESSID on the site visitors computer. If you do a web search for cross-domain cookies there are quite a few hits. I've never attempted this myself and thier was too much information for me to absorb and regergitate here.
If you have/could have a single backend then you could have a custom session handler that would securely manage sessions across the two sites.
So, you would log on to your site and you would note that they are logged on in your database and then on the receiving website you check the referring URL for some kind of unique identifier and check that against the DB for authenticity.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.