Cross Site Sessions

Discussion in 'PHP' started by Kalyse, Jun 1, 2007.

  1. #1
    Does anyone know how I can logically code something that will alllow for cross site logins and sessions?

    I just realised I may have a problem since I have 20 Domains on the network and they all use the same log in, but I want the login to be shared, in a Cookie would be good, but the other domains wont be able to access it, so I see I will have problems?
     
    Kalyse, Jun 1, 2007 IP
  2. mrmonster

    mrmonster Active Member

    Messages:
    374
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    60
    #2
    You will need a central authentication server(s) where all login requests are processed.

    So when someone goes to serverA and attempts to login, in the background you connect to serverZ and pass login information. serverZ, your authentication server, processes what you sent in the users DB and sends back a response.

    Then, based on the response from serverZ you set a login session on serverA or show some login failed message.

    All your server from A to Y can use the single user database for authentication thats located on serverZ.
     
    mrmonster, Jun 1, 2007 IP