Welcome, Guest
  • Author Topic: Problem with double names  (Read 3695 times)

    Rolf

    • Jr. Programmer
    • **
    • Posts: 91
      • View Profile
      • Email
    Problem with double names
    « on: 10/17/07, 13:09 »
    Hey

    I used FCS to create a Audio chat but if a user re-load the page(the movie) his name compares 2 times in audio apps...
    can you help me, please?

    Jorge Solis

    • Global Moderator
    • Systems Administrator
    • *****
    • Posts: 14616
      • View Profile
    Re: Problem with double names
    « Reply #1 on: 10/18/07, 05:00 »
    You should handle client disconnection
    You should add login validation to reject duplicate usernames

    Jorge

    Rolf

    • Jr. Programmer
    • **
    • Posts: 91
      • View Profile
      • Email
    Re: Problem with double names
    « Reply #2 on: 10/18/07, 07:47 »
    How do i do that ?
    Im a little noob to it :)

    Jorge Solis

    • Global Moderator
    • Systems Administrator
    • *****
    • Posts: 14616
      • View Profile
    Re: Problem with double names
    « Reply #3 on: 10/18/07, 08:52 »
    Use the Application.onDisconnect handler (documented on FlashCom help)
    The private chat example on this site manage to use unique usernames in Application.onConnect handler, check it

    BTW: You are registered since 2 years and always ask like a newbie. Seems that your learning curve is veeeeery slow !

    Jorge
    « Last Edit: 10/18/07, 08:54 by Jorge Solis »

    Rolf

    • Jr. Programmer
    • **
    • Posts: 91
      • View Profile
      • Email
    Re: Problem with double names
    « Reply #4 on: 10/24/07, 12:53 »
    Hey again!!

    Is it in the AudioConference -> Action: frame 1 somewhere i have to set onDisconnect in ?  I am realy lost here....

    Love

    Rolf