Skip to main content
Participant
November 25, 2010
Question

Communication between FMS and PHP

  • November 25, 2010
  • 1 reply
  • 394 views

Hello, I am new here and I am sorry if this question was posted before, but I did not find it in the forums.

First question:

Is there any other faster method to communicate between FMS and PHP except AMFPHP?

Second one:

After all users leave a chat room .. that chat room persists in the FMS server for a while.. before it is cleared.... Is there any way to clear the chat room from the server right after the last user leaves that chat room?

Thanks

    This topic has been closed for replies.

    1 reply

    November 25, 2010

    1. Using AMFPHP is as fast as it gets.

    2. In your application.ondisconnect handler, inspect the length of the application.clients array. If it evaluates to 0, all clients are gone, and you can invoke application.shutdown() to shut the instance down immediately