Jump to content

login to one website from another?


michaellunsford
 Share

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.
Link to comment
Share on other sites

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.
Link to comment
Share on other sites

This thread is more than a year old. Are you sure you have something important to add to it?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • 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.