Prebinding using websocket xmpp

Is it possible to prebind by using websocket or using xep 0198?

I know in BOSH it is possible by using sid and attach it in every request

My scenario:

Login in top or parent website get session from ejabberd, so my chat client side will login automatically using session , so i dont put any password in javascript side

Thanks

Answers


No, it is not generally possible. Websocket sessions do not get a sid/rid assigned to them, as those are only used by BOSH.

Prebinding can be done in a single HTTP request though, so I don't see a need to use websocket.


Need Your Help

"Saving, please wait" custom message displaying current operations

c# javascript asp.net-mvc razor

I have a huge web form (30k lines of code with js included) and when I click save, it will take some time.

Why does this simple part of my program makes me struck for more than two hours?

c++ c

I am pasting a part of my program below, why does it take large amount of time for execution?