public void updateApplicationTimeout(TimeSpan span) throws SecurityException {
  checkWriteAccess();
  boolean hasAccess=ConfigWebUtil.hasAccess(config,SecurityManager.TYPE_SETTING);
  if (!hasAccess)   throw new SecurityException("no access to update scope setting");
  Element scope=_getRootElement("scope");
  if (span != null)   scope.setAttribute("applicationtimeout",span.getDay() + "," + span.getHour()+ ","+ span.getMinute()+ ","+ span.getSecond());
 else   scope.removeAttribute("applicationtimeout");
}

public void updateApplicationTimeout ( TimeSpan span ) throws SecurityException { checkWriteAccess ( ) ; boolean hasAccess = ConfigWebUtil . hasAccess ( config , SecurityManager . TYPE_SETTING ) ; if ( ! hasAccess ) throw new SecurityException ( "no access to update scope setting" ) ; Element scope = _getRootElement ( "scope" ) ; if ( span != null ) scope . setAttribute ( "applicationtimeout" , span . getDay ( ) + "," + span . getHour ( ) + "," + span . getMinute ( ) + "," + span . getSecond ( ) ) ; else scope . removeAttribute ( "applicationtimeout" ) ; }
updates request timeout value
