> Hi, > I'm thinking about a solution that will allow me to have > several CF > sites sharing some templates in common > in some special directory.
> Defining a pseudo directory in IIS for every site is not > really a > problem, but what would be a simple > and convenient way for the common templates to get the > application name > it was called from > and set the proper application and session variables ? > Any idea ? Isn't that what custom tag paths and cf server mappings are for? (asside from cfc discovery) ... when you call the tag it has access to all the scopes, so if it's executed within an application, whether it uses application.cfc or the cfapplication tag, it can reference #application.applicationname# just like any other template. The mapping in conjunction with cfmodule or cfimport would give you less ambiguity and thereby decrease the likelyhood of namespace conflicts with templates in the directory containing the calling template. s. isaac dealey 434.293.6201 new epoch : isn't it time for a change? add features without fixtures with the onTap open source framework http://www.fusiontap.com http://coldfusion.sys-con.com/author/4806Dealey.htm ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236164 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=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

