getSessionTimeoutDuration

Returns the session timeout duration in seconds. If the value is negative, it will return 0 and log an error.