[ejabberd] multiple sessions in ejabberd

Ayukaev Vlad ayukaev at gmail.com
Fri Nov 9 02:18:59 MSK 2012


Dear developers,

I am building a javascript client for ejabberd and want the system to be
fault-tolerant.
However, a user sometimes can accidentally reload the page with the script.
Then when the system reloads it attempts
to join the room again, but gets an error ("This nickname is already in
use").
Currently, I can imagine using cookie to keep user's jid,rid,sid and
Strophe.connection.attach() to reveal the previous session.

I also know that recently there were many concerns on this topic, buy I
wasn't able to find any good solutions.
Is there any other ideas how to get away of nickname error?

Thanks,

Vlad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.jabber.ru/pipermail/ejabberd/attachments/20121108/ca111606/attachment.html>


More information about the ejabberd mailing list