How to concurent login?

Tuan Son Phan
Added about 5 years ago

I did a chat client based on this

However when user login on 1 device then try with the same account on other device, on first device user is kicked out.

Have you got any idea to fix this?

I want to concurent login on diffirent devices simultaneously.

Please help.

Replies (2)

Added by Wojciech Kapcia TigaseTeam about 5 years ago

Most likely you are using the same resource part which causes conflict. Either don't provide your own resource and allow server generate one for you (random) or use different resources.

Added by Tuan Son Phan about 5 years ago

Thank you so much. It works :)