Created
July 22, 2015 18:34
-
-
Save bdw429s/384d504c69c5f553b894 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
component { | |
this.name = "<application-name>"; // name of the application context | |
// regional | |
// default locale used for formating dates, numbers ... | |
this.locale = "en_US"; | |
// default timezone used | |
this.timezone = "America/Chicago"; | |
// scope handling | |
// lifespan of a untouched application scope | |
this.applicationTimeout = createTimeSpan( 1, 0, 0, 0 ); | |
// session handling enabled or not | |
this.sessionManagement = true; | |
// cfml or jee based sessions | |
this.sessionType = "cfml"; | |
// untouched session lifespan | |
this.sessionTimeout = createTimeSpan( 0, 0, 30, 0 ); | |
this.sessionStorage = "memory"; | |
// client scope enabled or not | |
this.clientManagement = false; | |
this.clientTimeout = createTimeSpan( 90, 0, 0, 0 ); | |
this.clientStorage = "cookie"; | |
// using domain cookies or not | |
this.setDomainCookies = false; | |
this.setClientCookies = true; | |
// prefer the local scope at unscoped write | |
this.localMode = "classic"; | |
// buffer the output of a tag/function body to output in case of a exception | |
this.bufferOutput = true; | |
this.compression = false; | |
this.suppressRemoteComponentContent = false; | |
// If set to false Lucee ignores type defintions with function arguments and return values | |
this.typeChecking = true; | |
// request | |
// max lifespan of a running request | |
this.requestTimeout=createTimeSpan(0,0,0,50); | |
// charset | |
this.charset.web="UTF-8"; | |
this.charset.resource="windows-1252"; | |
this.scopeCascading = "standard"; | |
////////////////////////////////////////////// | |
// DATASOURCES // | |
////////////////////////////////////////////// | |
this.datasources["test"] = { | |
class: 'net.sourceforge.jtds.jdbc.Driver' | |
, connectionString: 'jdbc:jtds:sqlserver://localhost:1433/testing' | |
, username: 'sa' | |
, password: "" | |
}; | |
////////////////////////////////////////////// | |
// MAPPINGS // | |
////////////////////////////////////////////// | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment