> I tried with xmpp4js
> (a javascript xmpp library), but no luck.  Because of the same origin
> policy, I can't really  use the xmlhttprequest to connet.

Because most browsers don't allow cross domain requests the domain of the
Bosh Uri must be the same as the domain where your webpage was loaded from.
There are many different ways to achieve this, the easiest one is probably
proxying on the webserver if the domains are different.

Best Regards,
Alex


Reply via email to