Skip to main content
Participant
January 7, 2008
Answered

Logout from FMS connection using PHP

  • January 7, 2008
  • 2 replies
  • 347 views
Hello,

Is it possible to disconnect from the FMS host site connection by using PHP scripts only?
Like clicking a logout button or something.

I need to log out a user from the chatroom without entering the chatroom and only logging the user out in the PHP administrative side, which must also disconnect the user inside the chatroom from the FMS host site that will also directly eject her from inside the chatroom. Instead of logging inside the flash chat and logging the user inside.

Help on this will very much appreciated. ^_^

    This topic has been closed for replies.
    Correct answer GenaroRG
    hmm, thats kinda weird.. I would go for managing all your user sessions using php session variables. Besides, connections to the FMS server only remain active if the client SWF file is actually being displayed in the browser, the moment you close the window (or DIV, frame, etc) containing it, the connection gets closed automatically on the server.

    2 replies

    Participant
    January 8, 2008
    Ok, I thought about that too. ^_^ I guess it can't be done that way.
    I'll just explain it to our client. Besides, I've already established a similar command inside the chatroom. I think that will suffice since, logging out a user from outside the chatroom won't work. ^_^

    Thank you very much GenaroRG!



    GenaroRGCorrect answer
    Inspiring
    January 7, 2008
    hmm, thats kinda weird.. I would go for managing all your user sessions using php session variables. Besides, connections to the FMS server only remain active if the client SWF file is actually being displayed in the browser, the moment you close the window (or DIV, frame, etc) containing it, the connection gets closed automatically on the server.