powered by Jive Software

How can i add a custom timer in openfire?


I have a situation where, a user is connected to openfire from a web site. I want to know whenever the user logs off from the website. I’m unable to set the logout status when the page is unloading because unloading event occurs in 3 different cases

  1. When page is refreshed,

  2. When he moves to some other page on the same website,

  3. When the browser is closed.

Can i set a timer and know the logout status of a user or is there any other better way of doing this using open fire?

Thank You,


Set an onclose handler for the page to log them out?

I think before someone can understand your question, you should define what you mean with “a webpage”.