[JDEV] How to find whether a user is offline from user.xml fi le
Peter Saint-Andre
stpeter at jabber.org
Tue Oct 16 13:08:28 CDT 2001
To see everyone who is online, I think you can send (as an admin user) the
following xml:
<iq type="get" to="yourhostname">
<query xmlns="jabber:iq:admin">
<who/>
</query>
</iq>
Peter
--
Peter Saint-Andre
email/jabber: stpeter at jabber.org
blog: http://stpeter.manilasites.com/
On Mon, 15 Oct 2001, Malli, Siva_Kumar wrote:
> I am not able to send mails to JDEV for a while. I don't know
> whether this reaches
> the list or not. Please don't mind the delay that has been caused and kindly
> reply to
> my query.
>
> Yeah, that's exactly what i want. Given the name of the user, i must
> be able
> to find out whether he is online or not. And then the actual number of users
>
> online in the whole server. If it's not maintained by the
> user.xml file, please do tell me where to find that information and how to
> access it.
>
> Thanks,
> Siva
>
>
> Date: Mon, 8 Oct 2001 17:59:34 -0500 (CDT)
> From: Peter Saint-Andre <stpeter at jabber.org <mailto:stpeter at jabber.org>>
> To: jdev at jabber.org <mailto:jdev at jabber.org>
> Subject: Re: [JDEV] How to find whether a user is offline from user.xml file
> Reply-To: jdev at jabber.org <mailto:jdev at jabber.org>
>
> State is not kept in the user.xml file, it's maintained in the Jabber
> session manager. Do you want to be able to see the state of any random
> user? And are you interested in getting this information for users on a
> server that you run (i.e., you are the server admin) or for any old
> server?
>
> Peter
>
> --
> Peter Saint-Andre
> email/jabber: stpeter at jabber.org <mailto:stpeter at jabber.org>
> web: <http://www.saint-andre.com/>
>
>
>
>
>
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev
>
More information about the JDev
mailing list