metajack / strophejs

The Strophe.js repository has moved to https://github.com/strophe/strophejs

Home Page:http://strophe.im/strophejs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

connection problem with multiple tabs

pokal4u opened this issue · comments

Hi,

whenever connecting strophe in multiple tabs, disconnected previous tabs

and connection works with register users only,.
with anonymous users getting success first time connecting,then refresh the page getting not-authorised message and after 3-5 minutes getting success, then refresh getting not-authorised message

we are using strophe with bosh+ ejabbered+ openfire

Please help

It's a normal behavior, what resource are you using ?
You can remove the resource to get a random one and add the property "route.all-resources" with value "true" into openfire. All tabs will connect and message will be broadcasted in all tabs.