All files in this app are in the same directory. I thought I would reply to this one first as its the easiest to check out. I am now checking the other suggestions. Also, there is no other cfinclude in the file in question except the line I added with application.cfm
Marc Campeau wrote: > > >From the docs: > > You create a special template, named Application.cfm, which you place in the > root directory of the application. All the other templates in the > application are stored in directories below the application's root > directory. > > Basically, for a template to be called after Application.cfm it has to be in > the same directory or one below that Application.cfm. > > Marc > > > -----Original Message----- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On > > Behalf Of Glenn Shukster > > Sent: Friday, March 01, 2002 3:03 PM > > To: cfTalk > > Subject: [CFTALKTor] Application.cfm question > > > > > > I thought Application.cfm was included in all files automatically. > > > > In some files the below line will bomb > > <cfquery name="qryName" datasource="#ODBC_DSN#"> > > ... > > > > In Application.cfm > > <cfset ODBC_DSN = "MyODBCName"> > > > > In many of the cfm files this works perfectly without doing anything. > > In a few others I have to do a cfinclude of the application.cfm or it > > bombs. > > Why? > > -- > > Cheers > > Glenn Shukster (Logic Fundamentals Inc.) Thornhill, Ont. Canada > > Phone:(905)771-6458 Fax:(905)771-6819 www.logicfundamentals.com > > President of TDUG www.tdug.com > > - > > You are subscribed to the CFUGToronto CFTALK ListSRV. > > This message has been posted by: Glenn Shukster > > <[EMAIL PROTECTED]> > > To Unsubscribe, Please Visit and Login to http://www.CFUGToronto.org/ > > Manager: Kevin Towes ([EMAIL PROTECTED]) > > http://www.CFUGToronto.org/ > > This System has been donated by Infopreneur, Inc. > > (http://www.infopreneur.net) > > > > > > - > You are subscribed to the CFUGToronto CFTALK ListSRV. > This message has been posted by: "Marc Campeau" <[EMAIL PROTECTED]> > To Unsubscribe, Please Visit and Login to http://www.CFUGToronto.org/ > Manager: Kevin Towes ([EMAIL PROTECTED]) http://www.CFUGToronto.org/ > This System has been donated by Infopreneur, Inc. > (http://www.infopreneur.net) -- Cheers Glenn Shukster (Logic Fundamentals Inc.) Thornhill, Ont. Canada Phone:(905)771-6458 Fax:(905)771-6819 www.logicfundamentals.com President of TDUG www.tdug.com - You are subscribed to the CFUGToronto CFTALK ListSRV. This message has been posted by: Glenn Shukster <[EMAIL PROTECTED]> To Unsubscribe, Please Visit and Login to http://www.CFUGToronto.org/ Manager: Kevin Towes ([EMAIL PROTECTED]) http://www.CFUGToronto.org/ This System has been donated by Infopreneur, Inc. (http://www.infopreneur.net)
