How long will a user stay logged on ?

Hi guys,

(Sorry if this post appears twice but the first time i posted it did not show up)
I am connecting to an ejabberd server through a javascript client (JsJAC - same as JWChat). How long does a user stay logged onto the server if i don't explicitly disconnect through client code ? Is there a configurable parameter at the ejabberd server level that determines this or is this determined through the client ?

Thanks

Syndicate content