7 Replies Latest reply on Mar 24, 2016 7:32 AM by WolfShade

    Frequency of application.cfc/cfm triggered

    WolfShade Level 4

      Hello, all,


      Y'know.. in all the years that I've been coding in CFML, it never once occurred to me to ask the following question, but here it is..


      If I have a page as such:


      <!DOCTYPE html>
        <head><title>Unknown Comic</title></head>
        <cfinclude url="menu.cfm"/>
        blah blah blah - foo bar
        <cfinclude url="footer.cfm" />


      Does the application.cfc trigger only once (for the document, itself)?  Or does it trigger once for the document, then once for each include (total of three times for above example)?






      (Forgive the n00b question - it just never came to mind until now.)