One way to do that is to put store your application variables in your SQL database (or whatever database you use).
That way, in your appication.cfm / application.cfc files, you can do a query to pull out the values for various application variables such as file_upload_path, application_home, debug_setting and so forth. So long as an application variable used by one web application is defined in the table for all web applications. I am sure that is clear as mud. :-) So, here is an example: Put the following two blocks of code in your application.cfm / application.cfc files: <cfquery name="application.application_wide_variables" datasource="my_dsn"> select application_name, application_home, file_upload_path from control_center </cfquery> <cfset application.application_name = application.application_wide_variables.application_name> Just to be sure to set up a data source by the same name (my_dsn in this example) in all of your applications. This should work On Mon, Jul 7, 2008 at 3:54 PM, Andy Matthews <[EMAIL PROTECTED]> wrote: > Not if you're on different servers. > > -----Original Message----- > From: Colman, Richard [mailto:[EMAIL PROTECTED] > Sent: Monday, July 07, 2008 2:51 PM > To: CF-Talk > Subject: ONE Ring to Rule them all > > > I maintain 6 - 9 similar CF websites spread across three different Windows > and Linux servers. Maintaining the Application.cfm files is turning into a > big pain. > > Is there any practical way to use ONE Application.CFM file in ONE place for > all of these sites? > > Rick Colman > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308693 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4