James- Very good idea. I didn't think of that one but that would work very well if we're understanding his needs correctly.
John Burns Certified Advanced ColdFusion MX Developer Wyle Laboratories, Inc. | Web Developer -----Original Message----- From: James Holmes [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 24, 2006 11:52 PM To: CF-Talk Subject: Re: Scope Woes & Virtual Directories Create a common app name for all your shared application scope variables. In each site's Application.cfm file, use a CFAPPLICATION tag to get the variables from this scope and put them in the request scope. Then use a second CFAPPLICATION tag to swap the application to the unique one for that site. When you need to write to the common application scope, swap back again with a new CFAPPLICTION tag, etc etc. It will be far quicker that the DB calls. On 1/24/06, jonese <[EMAIL PROTECTED]> wrote: > Howard: Nice idea but the SQL cost is more than we want to deal with. > > John: Our applications have to have unique names so that we don't have > application scoped vars over written (thinks like DSN, file paths etc > are stored in the application scope). > > Any other ideas or thoughts?? -- CFAJAX docs and other useful articles: http://jr-holmes.coldfusionjournal.com/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:230408 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54