My guess is that you need to bump the rid by one. You'll also want to
check that the session didn't expire. How long was it between the
previous request and the current one that 404s?
My guess is that you need to bump the rid by one. You'll also want to
check that the session didn't expire. How long was it between the
previous request and the current one that 404s?
So I gave up using Openfire and installed ejabberd and now it really
works like a charm. I don't even need to modify the rid or do any
other workarounds. You also need to set up a ProxyPass directive in
your httpd config as this was done with Openfire, too.
So I guess Openfire is a bit buggy in this case or at least too strict
in managing http-bind/BOSH connections.
-Markus
In onbeforeunload or onunload, just call pause, and grab
connection.rid and stash it. Then use it when you call attach. It
will keep changing on every request, so you'll want to read it after
you've stopped requests with pause().
jack.
--
You received this message because you are subscribed to the Google Groups "Strophe" group.
To post to this group, send email to str...@googlegroups.com.
To unsubscribe from this group, send email to strophe+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/strophe?hl=en.
Those are browser events that fire on page unload.
jack.