String appName = parentTag.getDynamic(_Session, "NAME").getString();
cfApplicationData appData = getAppData(_Session, appName);
String scriptProtect = null;
if (parentTag.containsAttribute(cfAPPLICATION.SCRIPTPROTECT)) {
scriptProtect = parentTag.getDynamic(_Session, cfAPPLICATION.SCRIPTPROTECT).getString();
<BUG>} else if (bScriptProtect) { // use global default
scriptProtect = "all";</BUG>
}
String datasource = null;
if ( parentTag.containsAttribute(cfAPPLICATION.DATASOURCE) )

String appName = parentTag.getDynamic(_Session, "NAME").getString();
cfApplicationData appData = getAppData(_Session, appName);
String scriptProtect = null;
if (parentTag.containsAttribute(cfAPPLICATION.SCRIPTPROTECT)) {
scriptProtect = parentTag.getDynamic(_Session, cfAPPLICATION.SCRIPTPROTECT).getString();
}
String datasource = null;
if ( parentTag.containsAttribute(cfAPPLICATION.DATASOURCE) )
