allow_multiple_connections has not effect for anonymous users

%% configuration %%
{host_config, "localhost", [
{auth_method, [odbc, anonymous]},
{odbc_server, {mysql, "localhost", "local", "pass", "pass"}},
{allow_multiple_connections, true},
{anonymous_protocol, login_anon}
]}.

I am building a web based chat application using strophe.js and ejabberd.
I have enabled allow_multiple_connections in configuration file (with anonymous user login). However, when I open a new connection in new tab(browser tab), ejabberd responds with 404 in previous tab. Chat works normal in new tab.

Am I missing something? This only happens with anonymous user. Everything works fine with registered users

I appreciate your time and help
Thanks

Syndicate content