Server Settings


Apply server settings

Server Settings > Settings

 

The following table describes the server settings. Click Submit Changes to save your changes.

 

Setting

Description

Default

Timeout Requests after seconds

Select this option to prevent unusually lengthy requests from consuming server resources. Enter a number of seconds to limit the amount of time that ColdFusion waits before terminating a request. Requests that take longer than the timeout period are terminated.

Enabled; 60

Enable Per App Settings

Select this option to let developers programmatically define ColdFusion setting such as mappings and debugging per application. See Setting per application settings.

Enabled

Use UUID for cftoken

Select this option to configure the cftoken cookie to use a Universally Unique Identification number (UUID), rather than a random number, as a token identifier. A UUID guarantees a unique identifier for the token.

Disabled

Enable HTTP status codes

Select this option to configure 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.

Enabled

Enable Whitespace Management

Select this option to compress runs of spaces, tabs, and carriage return/line feeds into a single space. Compressing whitespace can significantly compact the output of a CFML template. You can locally override this setting for a template, such as to omit preformatted data, by using the cfprocessingdirective tag.

 

Note: Restart the server when you enable or disable this option.

Enabled

Disable CFC Type Check

Select this option to turn off  verifying the CFC type when calling methods  with CFCs as arguments. It also disables verifying an object that implements the right interface.

 

Note: Although enabling this option can improve your application's performance, you should enable it only on a production server when you are not making changes to your application.

Disabled

Enable Generated UDF Registration

Select Implicit UDFs to avoid adding implicit setters/getters into CFC's 'variable' scope, 'this' scope, or metadata. You will be able to invoke the implicit UDFs but this will improve CFC creation performance.

Disabled

Disable access to internal ColdFusion Java components

Select this option to prevent 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.

Disabled

Prefix serialized JSON with

Protects web services which return JSON data from cross-site scripting attacks by prefixing serialized JSON strings with a custom prefix.

Disabled

Enable InMemory File System

Enables the InMemory File System support.  

Enabled

Memory Limit for InMemory Virtual File System

Specify the memory limit for RAM-based Virtual File System

Enabled 100

Watch configuration files for changes (check every  [n] seconds )

Select this option to make  ColdFusion  watch its configuration files and automatically reload them if they change. This 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.

Disabled 120

Enable Global Script Protection

Specifies whether ColdFusion automatically protects Form, URL, CGI, and Cookie scope variables from cross-site scripting attacks.

Disabled

Allow Extra Attributes in AttributeCollection

Specify whether ColdFusion tags can pass non-standard attributes in the attributecollection structure. Enabled

Default ScriptSrc Directory

Specifies the absolute web server path 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 may need to move the cfform.js file to a directory other than CFIDE.

/CFIDE/scripts/

Google Map API Key

Specify the license key to be able to access Google Maps.

Blank

Component with onServerStart() method

Specify the absolute path to a CFC having onServerStart() method, like "c:\server.cfc". Or specify a dot delimited CFC path under webroot, like "a.b.server". By default, ColdFusion will look for server.cfc under webroot.

Disabled

Application.cfc/Application.cfm lookup order

The order in which ColdFusion searches for application.cfm or application.cfc files, if it is not found in the directory. The available options are:

  • Default order
  • Until webroot
  • In webroot

Default order

Missing Template Handler

Specify a template to execute when ColdFusion cannot find the requested template. This specification is relative to the web root. If the user is running Microsoft Internet Explorer with "Show Friendly HTTP error messages" enabled in advanced settings (the default), Internet Explorer displays this page only if it contains more than 512 bytes.

Blank

Site-wide Error Handler

Specify a template to execute when ColdFusion encounters errors while processing a request. This specification is relative to the web root. If the user is running Internet Explorer with "Show Friendly HTTP error messages" enabled in advanced settings (the default), Internet Explorer displays this page only if it contains more than 512 bytes.

Blank

Maximum size of post data

Specifies the maximum amount of data that can be posted to the server in a single request. ColdFusion rejects requests larger than the specified limit.

100 MB

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 has been exceeded.

4 MB

Request Throttle Memory

Limits total memory size for the throttle. If there is not enough total memory available, Coldfusion queues requests until enough memory is free.

200 MB

 

Note: Some options require you to restart ColdFusion after making changes.

Related topics