2 Replies Latest reply on Jan 15, 2011 9:09 AM by User Since V1.5

    CFDump multiple applications from a single file

    User Since V1.5 Level 1

      I have multiple applications running on a single CFMX7 server. I want to be able to run a single diagnostic template, outside of any of those applications, that will simply dump all application scopes. I've read that I could do it this way:


      <cfapplication name="FirstApp">

      <cfdump var="#application#">


      <cfapplication name="SecondApp">

      <cfdump var="#application#">


      ...and so on.


      My question: when I invoke cfapplication for FirstApp in the diagnostic template, how am I affecting the 'real' FirstApp? It seems to me that this method would be attempting to create a second instance of FirstApp. Would that not cause problems? Am I missing something about how cfapplication works?