[JDEV] .. double-connect ..
Jens Langner
Jens.Langner at newtron.net
Tue Dec 12 05:43:03 CST 2000
But what happens if the same user tries to connect to the same server with
the same resource ?? I mean in my case the same user connects with two
computers with the same resource to the jabber server and the two JabberIM
clients are playing ping-pong with the online status of the user.
I want to avoid this generally !
Cheers,
Jens
> -----Original Message-----
> From: Dennis Noordsij [mailto:dennis.noordsij at wiral.com]
> Sent: Tuesday, December 12, 2000 4:28 PM
> To: jdev at jabber.org; Jens Langner
> Subject: Re: [JDEV] .. double-connect ..
>
>
> 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