[JDEV] .. double-connect ..

Dennis Noordsij dennis.noordsij at wiral.com
Tue Dec 12 04:58:07 CST 2000


On Tuesday 12 December 2000 12:38, Jens Langner wrote:
> Hello guys,
>
> I have the following problem:
>
> if I try to connect from two clients(JabberIM) with the same jabber-account
> the clients are playing ping-pong with online/offline !! How can I avoid
> this generally that the users can be only logged in ONCE ? Is there a
> option in the jabber server to enable that the first user that logs in with
> that account keep that ???
>
> Any help on this ?
>
> Thx
>
> Jens

Jabber allows multiple logins using the same account but different resources 
(ie dennis at domain/work and dennis at domain/home). If you want to enforce use of 
only one resource you will have to add 2 or 3 lines somewhere in the jabber 
sourcecode, look in jsm/sessions.c (I guess)

Regards,
Dennis





More information about the JDev mailing list