Skip to main content
Known Participant
February 19, 2009
Question

Disconnect none active users

  • February 19, 2009
  • 3 replies
  • 644 views
Hi there,
I was wondering if it is possible to disconnect a user if the user has been inactive for for example 5 min.?
I'm creating a chat.

Greetinhg Guido

Creation site internet | Radins | Jeux Concours | Programme TV
    This topic has been closed for replies.

    3 replies

    GipohAuthor
    Known Participant
    February 19, 2009
    Thanks B_Shack.
    I will let you know if I will be succesfull implementing the code hehe


    Creation site internet | Radins | Jeux Concours | Programme TV
    February 19, 2009
    Forgot the rest of the AS2 code:

    var __updateInt:Number = 0;
    __updateInt = setInterval(this, "updateTimestamp", 1000);
    function updateTimestamp():Void
    {
    yourNetConnectionObject.call("updateTimestamp", null);
    }

    Bill
    February 19, 2009