Hi, all. I'm trying to build a single site that will serve as a dynamic site whose content and graphics are totally different depending on the BusinessID.
I've got the database setup with the info needed, and I've been trying to specify the BusinessID by putting it in the URL that I've bookmarked on my production box. Example: http://localhost/cfdocs/rentalcompanies/index.cfm?BusinessID=1 Once the Application.cfm is accessed, the presence of URL.BusinessID is checked, and if it's present, various site variables are setup for graphics, etc. It seems to work, sort of... When I first access a bookmarked URL, the Application.cfm is not accessed unless I refresh index.cfm. Then everything on the site is properly setup for the business according to the BusinessID in the URL. But if I don't manually refresh the page, when I click on the other pages in the site, the graphics from the previous version of the site are still there. I thought that the Application.cfm was always accessed by .cfm pages first. ?? That's not happening when I pull a bookmarked URL on using localhost development. Will it be different when the site is accessed via the Internet? I'm planning to setup several businesses to use the same dynamic site. Is the approach I'm using appropriate? Is there a better way to establish the BusinessID? Will it work in a regular URL accessed via the Internet? Has anyone done something like this and have a solution? Rick ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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

