Keep RID in sync with multiple tabs for Strophe js connection
问题 We are trying to implement a chat application where we are using strophe js for http-bind. Everything works fine, the only problem we are facing is with keeping connection alive with multiple tabs. I am not getting how to keep RID in sync when multiple tabs are open. Please help!! 回答1: Each requesting resource should have it's own resource name. In your instance, each tab should have it's own resource name and connection. username@jabber.servername.com/tab1 username@jabber.servername.com/tab2