public void updateDomaincookies(Boolean domainCookies) 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");
  scope.setAttribute("setdomaincookies",Caster.toString(domainCookies,""));
}

public void updateDomaincookies ( Boolean domainCookies ) 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" ) ; scope . setAttribute ( "setdomaincookies" , Caster . toString ( domainCookies , "" ) ) ; }
set if domain cookies are enabled or not
