I've created a fb site that I want to reuse for different domains
(websites).

I'd like some creative ideas on how to do it.  Here's what I'm planning thus
far:

1.) In IIS, point all the domains that share the app to it's root directory.
2.) In app_globals.cfm, query the db to get the sites info using
cgi.server_name.
        <cfquery name="site" blah... cachedwithin="createtimespan(---)">
                select *
                from websites
                where domain_name = '#cgi.server_name#'
        </cfquery>
3.) Use the results from the query to set things like header and footer
files, company info, etc.

Is there any problem in doing it this way?  I'd like some other solutions if
anyone has any.

Thanks in advance,

Brad


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to