brihol44
asked on
How can I call a cffunction that is saved on a .cfm page from a .cfm page?
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.
Thanks,
Brian
<cfset myCFC = createObject( 'component', 'path.to.my.cfm.page.with.
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.
Thanks,
Brian
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thanks!