This is wierd..my root Application.cfm doesn't seem to be working
I'm using CFMX 7 on a IIS6/win2003

this is the code: (in root Application.cfm file)
<cfset app_is_initialized = False>
<!--- Get a read-only lock. --->
<cflock scope="application" type="readonly" timeout=10>
<!--- Read init flag and store it in local variable. --->
   <cfset app_is_initialized = IsDefined("Application.initialized")>
</cflock>
<!--- Check the local flag. --->
<cfif not app_is_initialized>
<!--- Application variables are not initialized yet.
      Get an exclusive lock to write scope. --->
   <cflock scope="application" type="exclusive" timeout=10>
      <!--- Check the Application scope initialized flag since another request
         could have set the variables after this page released the read-only
         lock. --->
      <cfif not IsDefined("Application.initialized")>
         <!--- Do initializations --->
        <cfset application.FOODdsn ="food1">
                 <cfset application.cfc = "cfc">
         <!--- and so on ---> 
         <!--- Set the Application scope initialization flag. --->
         <cfset Application.initialized = "yes">
      </cfif>
   </cflock>
</cfif>
Yet if I do a cfdump; all that it shows is the name of the cfapplication.. no 
variables..
a cfoutput on any application.varname gives "Error Occurred While Processing 
Request"

and if I put it in a cfinvoke tage I get a not defined error message..
AND more strangness .. the application.cfm files in the sub directories work 
fine..
BTW do not have access to the cf administrator

TIA
Mark Holm

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:204551
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=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to