The Settings page of the ColdFusion Administrator contains configuration options that you can set or enable to manage ColdFusion. These options can significantly affect server performance. The following table describes the options:
Option |
Description |
---|---|
Timeout Requests After (Seconds) |
Prevents unusually lengthy requests from using up server resources. Enter a limit to the time that ColdFusion waits before terminating a request. Requests that take longer than the time-out period are terminated. |
Enable Per App Settings |
Lets developers programmatically define ColdFusion settings such as mappings and debugging per application. |
Use UUID For cftoken |
Specify whether to use a universally unique identifier (UUID), rather than a random number, for a cftoken. |
Enable HTTP Status Codes |
Configures ColdFusion to set a status code of 500 Internal Server Error for an unhandled error. Disable this option to configure ColdFusion to set a status code of 200 OK for everything, including unhandled errors. |
Enable Whitespace Management |
Compresses repeating sequences of spaces, tabs, and carriage returns and linefeeds. Compressing whitespace can significantly compact the output of a ColdFusion page. |
Disable CFC Type Check |
Turns off verifying the CFC type when calling methods with CFCs as arguments. This option also disables verifying an object that implements the right interface. Although enabling this option can improve your application's performance, enable it only on a production server when you are not making changes to your application. |
Disable Access To Internal ColdFusion Java Components |
Prevents CFML code from accessing and creating Java objects that are part of the internal ColdFusion implementation. This prevents a non-authenticated CFML template from reading or modifying administration and configuration information for this server. |
Watch Configuration Files For Changes (Check Every n Seconds) |
Sets ColdFusion to monitor its configuration files and automatically reload them if they change. This action is required if you deploy ColdFusion in a Websphere ND vertical cluster, because multiple instances of ColdFusion share the same configuration files. Most installations should not enable this feature. |
Enable Global Script Protection |
Protects Form, URL, CGI, and Cookie scope variables from cross-site scripting attacks. Select this option if your application does not contain this type of protection logic. |
Default CFFORM ScriptSrc Directory |
Specify the default path (relative to the web root) to the directory that contains the cfform.js file. Developers reference this file in the ScriptSrc attribute of the cfform tag. In a hosted environment, you might need to move the cfform.js file to a directory other than CFIDE. |
Missing Template Handler |
Specify a page to execute when ColdFusion cannot find a requested page. This specification is relative to the web root. Note: If the user is running Microsoft Internet Explorer with "Show Friendly HTTP error messages" enabled in advanced settings (the default), Internet Explorer will only display this page if it contains more than 512 bytes. |
Site-Wide Error Handler |
Specify a page to execute when ColdFusion encounters an error while processing a request. This specification is relative to the web root. When you define a site-wide error handler or missing template handler, ColdFusion does not log page-not-found errors and exceptions. Note: If the user is running Internet Explorer with Show Friendly HTTP Error Messages enabled in Advanced Settings (the default), Internet Explorer only displays this page if it contains more than 512 bytes. |
Maximum Size Of Post Data |
Limits the amount of data that can be posted to the server in a single request. ColdFusion rejects single requests larger than the specified limit. |
RequeSt Throttle Threshold |
Requests smaller than the specified limit are neither queued nor counted as part of the total memory. Requests larger than the specified limit are counted as part of total memory and are queued if the request throttle-memory size is exceeded. |
Request Throttle Memory |
Limits total memory size for the throttle. If sufficient total memory is not available, ColdFusion queues requests until enough memory is free. |