>-----Original Message----- >From: Raymond Camden [mailto:[EMAIL PROTECTED] >Sent: Tuesday, March 18, 2003 2:17 PM >To: CF-Talk >Subject: RE: [cflogin] okay, I think I have it...except for one little >part... > > >> ...just a side question for my curiosity Jeff...I'm hijacking >> some of your thread is all! >> >> Ray...I usually just use the cfapplication tag in an >> application.cfm file in a sub folder and use the same >> application name as the folder above it and everything works >> fine. Perhaps this is bad form or something? I've never >> heard anything bad about it and it works splendidly. >> >> kind of like this >> /application.cfm has cfapplication tag with name="foo" >> /sub/sub/.../application has cfapplication tag with >> name="foo" and all the app related vars are available in both places. >> > >I wouldn't call it bad form - however, in most cases where I have >sub-Application.cfms, I still want a 'core' Application.cfm. So, I just >cfinclude the root one, and it has the <cfapp> tag. This allows me to >have a common set of application variables or logic that applies to all >the sub folders. > >Hope this makes sense. > >-ray
right...I borrow the FuseBox convention for this with app_globals and app_locals files. It kind of scares me to cfinclude an application.cfm file for some reason. Something about the fact that its such an important file and all...wierd. Doug > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

