Will... In your first application.cfc you're going to create application.dsn, right? Along with this.name <http://this.name>, yes?
So your second application.cfc is going to have this.name <http://this.name>as well, yes? And if it's the same string as the name in the first application.cfc, it's going to be looking at the same application space as the first one. So, in your first application.cfc you create application.dsn = "mydsn"... so long as they're running on the same server it's going to see the same values under the same names in the application scope. In other words you join the data in memory by the name specified in the space inside the cfcomponent tag and outside any of the cffunction tags... by giving them the same name you join them logically in the server's memory. It's effectively the exact same thing as cfincluding an Application.cfmfile, but different in implementation. HTH, J On 7/7/05, Will Tomlinson <[EMAIL PROTECTED]> wrote: > > If I have an Application.cfc in the site root, and it contains an > APPLICATION.DSN variable, and there's an admin folder with its own App.cfc, > how would I include the root's APP.DSN inside the admin folder's app.cfc? > > When I used App.cfm I just included the root App.cfm. > > Thanks, > Will > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:211409 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

