[jdev] multiple sessions in ejabberd
Ayukaev Vlad
ayukaev at gmail.com
Thu Nov 8 22:18:59 UTC 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: <https://www.jabber.org/jdev/attachments/20121108/ca111606/attachment.html>
More information about the JDev
mailing list