Hi, I haven't heard of anyone ever doing this, but it seems to work for me, so I was wondering if it was in some way poor programming or otherwise not recommended.
I've got an application.cfm file in my root folder, whose properties also apply to a subfolder since no application.cfm file is in that subfolder. However, now I wish to set up a constant which pertains only to the subfolder. To do this, I have created another application.cfm file specific to that subfolder. However, I'd also like all of the variables in the root folder's application.cfm file to continue to apply. I could easily do this by copying and pasting the content of the application.cfm from the root folder verbatim into the subfolder's application.cfm file, and then adding this extra line for the new constant. But that sounds like unnecessary work. Instead of inserting a copy of my root application.cfm folder into my subfolder with this new constant, couldn't I just add a cfinclude line in my subfolder's application.cfm file to include the application.cfm file that is located in the root folder? My subfolder's application file would look like this: <cfscript> CSOnline = "True"; </cfscript> <cfinclude template="/application.cfm"> Like I said, it seems to work. Any reason not to do this? Thanks! Andrew ______________________________________________________________________ Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation � $99/Month � Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

