login on two sites at the same time

Discussion in 'Scripts' started by Abh, Jul 10, 2010.

  1. #1
    So that when you login on one of them, then go the other, you're logged on that one too. I know i need something like a migration script?! but can't find an example to modify it for my needs. The databases are not identical.
     
    Abh, Jul 10, 2010 IP
  2. lowridertj

    lowridertj Well-Known Member

    Messages:
    2,882
    Likes Received:
    40
    Best Answers:
    0
    Trophy Points:
    195
    #2
    do you want it to open the window for the other site as well?

    if not share the logins or database user account between the 2 sites, and then pass the session variables, or login cookies, sessions for the other site to store for say 24 hours so that if they go there they are auto logged in based on details given in other site.
     
    lowridertj, Jul 10, 2010 IP
  3. Abh

    Abh Active Member

    Messages:
    162
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    60
    #3
    will look into it, tx for the ideas.
     
    Abh, Jul 11, 2010 IP