How do I sign out users real-time?

Discussion in 'PHP' started by alimoses, Aug 27, 2010.

  1. #1
    I'm working on an application in php. I want the super Admin to login on any of the client systems connected to the Local Area network and sign out users so that all the user must sign in again.
     
    alimoses, Aug 27, 2010 IP
  2. TheWiseGuy

    TheWiseGuy Member

    Messages:
    113
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    28
    #2
    you can store all the session data in a database and check if sessions are valid. When you wipe the sessions table out all of the sessions will not be valid anymore.
    or you can force your visitors to go through this function http://php.net/manual/en/function.session-destroy.php... it's hard to tell how you could implement it without knowing anything about your application
     
    TheWiseGuy, Aug 27, 2010 IP