I am writing my first site using MG and Transfer ORM. I want to serve 2 sites with similar code bases and many shared functions, but which pull from separate databases. In my application.cfc file, I have a cfswitch on #lcase(trim(cgi.HTTP_HOST))#, then I check www.sitename.com, or sitename.com, and initialize my cfapplication tag, as well as my singleton for transfer (each site has its own transfer config files). Is there anything wrong with doing it this way, should I totally separate my code base (which I don't want to do for ease up management / update purposes) or will this run well? This is a very high traffic site, and I cant wait to take advantage of Transfer and MG's caching mechanisms.
Chris ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| ColdFusion MX7 by AdobeĀ® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:277601 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4