Not logged in. · Lost password · Register
Forum: agsXMPP RSS
Avatar
nandakishor #1
Member since Feb 2014 · 4 posts
Group memberships: Members
Show profile · Link to this post
Subject: Is there any way to know the user presence based on the jid
Hello all,
           I am connecting to the Openfire server using AGSXmpp from ASP.NET webpage. I want to get the user present status (i.e., whether online or offline) based on the individual jid.

Is there any way to do this. Please, kindly guide me to solve this problem.

With regards,
Nanda Kishor G N
This post was edited on 2014-02-12, 10:41 by nandakishor.
Avatar
Alex #2
Member since Feb 2003 · 4327 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
watch the OnPresence event.

Please study the MiniClient example. There is all info you need for this.

Alex
Avatar
nandakishor #3
Member since Feb 2014 · 4 posts
Group memberships: Members
Show profile · Link to this post
Thanks Alex for the response. But, I want to know the present or now the status of the individual user from server.

For an example: test@test.com is logged in or online.

I want to check that test@test.com (JID) is online or offline without OnPresence Event .

Is it possible to that?

With regards,
Nanda Kishor G N
Avatar
Alex #4
Member since Feb 2003 · 4327 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
as I told you. Look at the example.

Yes its possible if the user test@test.com is on your contact list and properly subscribed to you.
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Forum: agsXMPP RSS