View Single Post
  #1 (permalink)  
Old August 26th, 2013, 03:26 AM
ladybug ladybug is offline
Registered User
 
Join Date: Aug 2013
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default XMPP: retrieving BOSH Session ID and RID with StropheJS?

Please tell me how to retrieve the SID and JID. I am using Strophe JS.

<body rid='489923353' xmlns='http://jabber.org/protocol/httpbind' sid='ab7f5957' to='127.0.0.1' xml:lang='en' xmpp:restart='true' xmlns:xmpp='urn:xmpp:xbosh'/>

var conn = new Strophe.Connection(bosh_service);

Thanks. Need help soon.