Have done something similar, but query database first to have a list of businessIDs related to a domain name. In application.cfm, loop through the available list of domains/ids until find match with the domain being called. This becomes the businessID for the desired site. Then set the businessID in the request scope--as request.BusinessID. All through the site, any queries, etc. are based on this unique ID. No need to carry through on URLs, as the request scope keeps it.
Hope this helps Keith Dodd [EMAIL PROTECTED] www.wingserv.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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 Get the mailserver that powers this list at http://www.coolfusion.com

