Skip to main content
Participant
April 23, 2020
Question

is it possible useing cfinclude tag in the cfc component?

  • April 23, 2020
  • 3 replies
  • 722 views

is it possible useing cfinclude tag in the cfc component?

if possible. is there any problems?  speed, memory...etc..

 

Thank you 

    This topic has been closed for replies.

    3 replies

    Participating Frequently
    April 24, 2020

    I support an application that uses cfinclude in it's application.cfc modules and there have not been any issues.

     

    Charlie Arehart
    Community Expert
    Community Expert
    April 23, 2020

    There is no reason I can think of to hesitate about using a cfinclude in a CFC. CFML is CFML.

    /Charlie (troubleshooter, carehart. org)
    WolfShade
    Legend
    April 23, 2020

    I would need some more details, like a use-case.  I can't think of any problems off the top of my head.

     

    However, if you intend to include another cfc, there's a better way to do it.

     

    V/r,

     

    ^ _ ^