am i supposed to invoke application.cfc?
My website is always on the index.cfm page, do I just throw a <cfinvoke> tag in there to call the application.cfc? Am I supposed to name it with an uppercase A (Application.cfc)?
My website is always on the index.cfm page, do I just throw a <cfinvoke> tag in there to call the application.cfc? Am I supposed to name it with an uppercase A (Application.cfc)?
You want the Application.cfc file to be in the same directory or a higher directory of all the CFML templates that you would like to be affected by it.
So for your root index file, yes you wold probably want the Application.cfc file to be in the web root. But it could be higher if you wanted it to be, but that is somewhat unusual.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.