| 1. |
What Is An Application.cfm Page And Why It Is Used? Is It Mandatory? How Many Application.cfm Pages We Can Use In A Coldfusion Application? |
|
Answer» Application.cfm page will be used to define application level variables, for example instead of DECLARING dsn VARIABLE in every query you use, you can define the variable in application.cfm page once and can use that variable in every ColdFusion page you use queries to retrieve data from DATABASE. We can definitely use more than ONE application.cfm pages, however, only the first application.cfm page that the ColdFusion server finds, will be used. Application.cfm page is not mandatory. Application.cfm page will be used to define application level variables, for example instead of declaring dsn variable in every query you use, you can define the variable in application.cfm page once and can use that variable in every ColdFusion page you use queries to retrieve data from database. We can definitely use more than one application.cfm pages, however, only the first application.cfm page that the ColdFusion server finds, will be used. Application.cfm page is not mandatory. |
|