public void setSessionDetachTime(int idleTime) {
        if (getSessionDetachTime() == idleTime) {
            return;
        }
        // Set the new property value
        JiveGlobals.setProperty("xmpp.session.detach.timeout", Integer.toString(idleTime));
    }
Returns the number of milliseconds to elapse between clearing of idle server sessions.

@return the number of milliseconds to elapse between clearing of idle server sessions.
xmppserver/src/main/java/org/jivesoftware/openfire/SessionManager.java