> I don't think that's directly accessible, but you can always reconstruct > it > since you know what the business id is. Alternately (if you need access > to > it regularly) you can assign it to a variable and then assign the > application name based on that variable.
> That is: > <cfset variables.appname = "RentalCompanies" & BusinessID> > <cfapplication name="#variables.appname#"> > <cfoutput>#variables.appname#</cfoutput> This is what I do also so that CF 5 and prior I don't have to lock the variable, although it is available as <cfoutput>#application.applicationname#</cfoutput> however -- prior to MX you do have to lock that variable, and I noticed also that it is possible ( strangely enough ) to delete it from the application scope using StructClear(application) or similar, which royally hozes up the app, so if you need to clear the application scope completely, you need to copy it to a temp variable or the like first and then copy it back into the application scope immediately afterward <cflock scope="application" type="exclusive" timeout="30"> <cfset temp = application.applicationname> <cfset temp2 = structclear(application)> <cfset application.applicationname = temp> </cflock> Addmittedly this is sort of asside from the question, but I thought it was interresting. :) s. isaac dealey 954-776-0046 new epoch http://www.turnkey.to lead architect, tapestry cms http://products.turnkey.to certified advanced coldfusion 5 developer http://www.macromedia.com/v1/handlers/index.cfm?ID=21816 > : -----Original Message----- > : From: Rick Faircloth [mailto:[EMAIL PROTECTED]] > : Sent: Tuesday, December 03, 2002 1:50 PM > : To: CF-Talk > : Subject: RE: One dynamic site for multiple indepentdent businesses > : > : > : How would I cfoutput the CFApplication Name so I can get a look at it? > : > : Using CFAPPLICATION Name="RentalCompanies#BusinessID#"... > : > : "<CFOUTPUT>?</CFOUTPUT>" > : > : Rick > : > : -----Original Message----- > : From: Keith Dodd [mailto:[EMAIL PROTECTED]] > : Sent: Tuesday, December 03, 2002 11:57 AM > : To: CF-Talk > : Subject: One dynamic site for multiple indepentdent businesses > : > : > : If you're with a pre cf5 version, there is a custom tag on the exchange, > : called cf_dump, I think. It gives same as the dump tag (and maybe more). > : Great to see what is being generated with a query, structure, etc, as > well > : as a visual rendering which can help understanding. > : > : Keith > : > : > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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 Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm

