title: Using mysql database table authenticated multiple site user / SSO
body: <p>I have implement SOS concept between two php application. it application it available different domain.</p>
  
  <p>I have required following condition.</p>
  
  <p>1.When user is login any appplication to login this user with check user name and password into mysql database table </p>
  
  <p>2.When user is login another application not reenter password direct login with this system.</p>
  
  <p>3.When user logout at time both application can be logout.</p>
  
  <p>-->my first application can be created Yii framework and another is moodle</p>
  
  <p>please give idea to implement this concept in my both application </p>