Session Cache

Hello, I’m developing an ajax jabber IM client (using Strophe JS library). The client is in a web page which a user need to be reload to navigate in the site so the ajax jabber client reloads with the page.
I need to reload roaster and chats every time the page refreshes without disconnect to xmpp server.

Is there a way to do this?

I’d like to use sometings like mentioned in this post (http://mail.jabber.org/pipermail/bosh/2008-July/000008.html) and how explained here http://projects.tigase.org/server/trac/wiki/BoshSessionCache.

How can I implement this with OpenFire?

Thank you.
Emanuele

Looking for same, how to handle page refreshes and to persist the chat state?