except not compiled every time, just run? unless you use cfadmin to stop cf
from saving any classes?

-----Original Message-----
From: Ryan Guill [mailto:[EMAIL PROTECTED]
Sent: 07 September 2005 17:30
To: CF-Talk
Subject: Re: Please help correct an assumption regarding Application.cfm


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>
>
>
>



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217541
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