Smack and Strophe

Hello,

I have problem with sharing session between Smack and Strophe libraries.

I start with Smack BOSHConnection to xmpp server, then extract JID/RID/SID

from it (had to edit BOSHConnection little:) and send it to js client. When I try

to attach to session, it usually can’t send nothing to server and disconnect soon.

I found that it helps to stop BOSHClient used by BOSHConnection, but it just give

me few minutes before some timeout and disconnect.

Is there any way to close/disable/… BOSHConnection without lost session ot created?

Or other way to share session? I need to hide autentification from client.

Thank you.

S.