Why on earth would you do this: <cfset APPLICATION = StructNew() />
??? On Thu, May 8, 2008 at 9:50 AM, Axel Schultze <[EMAIL PROTECTED]> wrote: > Running CF 8.01 on Win2003 Server > > My directory structure: > wwwroot/main/application.cfc > > <cfcomponent output="false"> > <!--- Name the application and turn SESSION Management on. ---> > <cfset this.name="Xeequa"> > <cfset this.sessionManagement=true> > <!--- Application Start ---> > <cffunction name="onApplicationStart" output="false" > returnType="void"> > <cfset APPLICATION = StructNew() /> > <cfset APPLICATION.SITE = "http://www.xeequa.com/"> > <cfset other stuff.... > </cffunction> > </cfcomponent> > > My code in: > wwwroot/main/operations/file.cfm > I call a custom tag > <CF_mailCore to="#email#" from="#system#" file="#APPLICATION.SITE#/lalalal"> > > THE ISSUE: > ============== > I get an error "SITE is not defined in APPLICATION" > After restarting the server I'm OK. > Over time it seems to loose the APPLICATION scope and I get the error again. > It is only with the .SITE variable - all others seem to be OK. > > Any idea? > > Thanks in advance > > Axel > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:304882 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

