Copy link to clipboard
Copied
I am using an application.cfc file for the first time ands I cant seem to get it to work.
Do I need to register the application.cfc in the CF administrator in order for it to work?
I actually have 2 cfc files application.cfc and mylist.cfc
Do I need to register both of these in the CF administrator?
No, you shouldn't have to register any CFC for it to work.
Ben Nadel has a pretty detailed tutorial on Application.cfc, I recommend reading through that as a good starting point. It's a little outdated as I think it was written for CF 7, though. http://www.bennadel.com/blog/726-ColdFusion-Application-cfc-Tutorial-And-Application-cfc-Reference.htm
--
Thanks,
Eric Cobb
ECAR Technologies, LLC
http://www.ecartech.com
http://www.cfgears.com
Copy link to clipboard
Copied
No, you shouldn't have to register any CFC for it to work.
Ben Nadel has a pretty detailed tutorial on Application.cfc, I recommend reading through that as a good starting point. It's a little outdated as I think it was written for CF 7, though. http://www.bennadel.com/blog/726-ColdFusion-Application-cfc-Tutorial-And-Application-cfc-Reference.htm
--
Thanks,
Eric Cobb
ECAR Technologies, LLC
http://www.ecartech.com
http://www.cfgears.com
Copy link to clipboard
Copied
Note the important difference in the file names.
Your post used the file name "application.cfc", the reply by ecobb used the file name "Application.cfc". That capitol "A" is a significant difference on *nix systems. The lower case "application.cfc" does not do anything, you MUST use the upper case "Application.cfc".