ejabberd - Comments for "Can I know if I already logged on from another point." https://www.ejabberd.im/node/3084 en Is there any way to know why https://www.ejabberd.im/node/3084#comment-53961 <p>Is there any way to know why the old session is being closed? Such as "User Logged on Another Machine" or something? The Exception I get on connectionClosedOnError does not really tell me anything.<br /> .....<br /> Thanks,<br /> D</p> Tue, 20 Jan 2009 21:28:00 +0000 dawit comment 53961 at https://www.ejabberd.im You can limit to 1 session, and ejabberd will close old https://www.ejabberd.im/node/3084#comment-53275 <p>In Jabber, the user <noindex><a href="mailto:bob@example.org" rel="nofollow" >bob@example.org</a></noindex> can login to his account multiple times if he uses different resources. For example bob@example.org/Home and at the same time bob@example.org/Work and bob@example.org/laptop.</p> <p>In ejabberd 2.0.0 it is possible to limit how many different sessions, check 'Limiting Opened Sessions with ACL' in the ejabberd guide. If you only want 1 session allowed, you can put:</p> <pre>{access, max_s2s_connections, [{1, all}]}.</pre><p> In Jabber, the user <noindex><a href="mailto:bob@example.org" rel="nofollow" >bob@example.org</a></noindex> can only have one session with a specific resource. For example, he can only have one session bob@example.org/laptop . If he tries to login with another client in another machine to bob@example.org/laptop, then ejabberd will close the old session and allow the new session.</p> <p>It is not configurable in ejabberd wether to close the old or the new session: ejabberd will always close the old session. Check the related feature request ticket: <noindex><a href="https://support.process-one.net/browse/EJAB-650" rel="nofollow" >Option to disallow new session if resource conflict</a></noindex></p> Mon, 09 Jun 2008 14:10:49 +0000 mfoss comment 53275 at https://www.ejabberd.im