No, my understanding of application.cfm is more like an implicit
include on every template that is requested by the browser and runs
before anything else.  I believe it is compiled and run every time.

On 9/7/05, Damien McKenna <[EMAIL PROTECTED]> wrote:
> I have an assumption regarding Application.cfm that I'm starting to
> question.
> 
> It was my understanding that the Application.cfm file was
> loaded+compiled the first time when a file in that directory was loaded,
> e.g. the first time someone loads index.cfm the Application.cfm file for
> that directory was loaded.  After that the file was not loaded+compiled
> again until it was changed, i.e. a new version was uploaded.  Further
> from that, it was also my understanding that the same was true for all
> files cfinclude'd from Application.cfm.  Are my assumptions correct?
> 
> The reason I ask is that today one of our sites trapped an error that
> suggests otherwise.  The Application.cfm for all of our sites loads a
> shared file which sets some common variables - DSN names, common URLs,
> etc, all of which are stored in the Application scope.  The error that
> was logged said that one of these variables was not set, which does not
> make sense based on my assumptions above.
> 
> So any ideas on why this might have happened?
> 
> Thanks.
> 
> --
> Damien McKenna - Web Developer - [EMAIL PROTECTED]
> The Limu Company - http://www.thelimucompany.com/ - 407-804-1014
> #include <stdjoke.h>
> 
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217539
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to