Not getting unawailable presence from admin user

In my web app,I have an admin user who sends messages to multiple users registered in ejabbered. I need this admin user to be online always.But after two days or three days the admin user loses connection.I am not getting the unavailable presence type in my web app.Any solution for this.I am using argsxmpp .net web app as client .

Try mod_ping, it may help

Syndicate content