How can I call a cffunction that is saved on a .cfm page from a .cfm page?
Posted on 2013-10-25
I have a cffunction that was written with a .cfm extension page instead of .cfc. I want to call that function but I'm not sure how. Is it the same way as a .cfc?
<cfset myCFC = createObject( 'component', 'path.to.my.cfm.page.with.function' ) />
Did not seem to work for me but if somebody else can verify that would work or let me know a different way that would be great.