Temporarily Disabling Data Source Access

Individual data sources may be temporarily disabled using the ColdFusion Administrator. You may also perform this programmatically using the undocumented CFusion_Disable_DBConnections() function. This function takes two parameter, the first is the name of the data source, and the second is a TRUE or FALSE flag – set the value to TRUE to temporarily disable use of the data source, and set it to FALSE to reenable a disabled data source. (Applies to: ColdFusion 4.x or 5)

Leave a Reply