sct.set("clientCookies",Caster.toBoolean(config.isClientCookies()));
sct.set("clientStorage",config.getClientStorage());
sct.set("sessionStorage",config.getSessionStorage());
TimeSpan ts=config.getSessionTimeout();
sct.set("sessionTimeout",ts);
sct.set("sessionTimeout_day",Caster.toInteger(ts.getDay()));
sct.set("sessionTimeout_hour",Caster.toInteger(ts.getHour()));
sct.set("sessionTimeout_minute",Caster.toInteger(ts.getMinute()));
sct.set("sessionTimeout_second",Caster.toInteger(ts.getSecond()));
ts=config.getApplicationTimeout();
sct.set("applicationTimeout",ts);
sct.set("applicationTimeout_day",Caster.toInteger(ts.getDay()));
sct.set("applicationTimeout_hour",Caster.toInteger(ts.getHour()));
sct.set("applicationTimeout_minute",Caster.toInteger(ts.getMinute()));
sct.set("applicationTimeout_second",Caster.toInteger(ts.getSecond()));
ts=config.getClientTimeout();
sct.set("clientTimeout",ts);
sct.set("clientTimeout_day",Caster.toInteger(ts.getDay()));
sct.set("clientTimeout_hour",Caster.toInteger(ts.getHour()));
sct.set("clientTimeout_minute",Caster.toInteger(ts.getMinute()));
sct.set("clientTimeout_second",Caster.toInteger(ts.getSecond()));
// scope cascading type
if(config.getScopeCascadingType()==Config.SCOPE_STRICT) sct.set("scopeCascadingType","strict");
else if(config.getScopeCascadingType()==Config.SCOPE_SMALL) sct.set("scopeCascadingType","small");