I know that makes no sense, but here's what's happening. I'm name a site that serves as a dynamic site for multiple companies. I need to name the Application and set variables by the CGI.HTTP_Referer variable. No problem so far.
However, since the site is blind forwarded to my server, the HTTP_Referer variable changes once it's working off my server. When it comes from the company that handles my DNS, it comes as http://www.bodafordhomes.com, from which I can do a CFIF CGI.HTTP_Referer contains ".com" and that tells me that the homepage has been requested from somewhere besides my server and the ID of the company needs to be determined for the dynamic site to be setup. I have http://www.bodafordhomes.com stored in the database from which to ID the company and choose it's data. The problem comes when the pages are served from my server. They use URL's like http://77.88.99.00/cfdocs/rea/index.cfm , so the new CGI.HTTP_Referer can't be used to determine company ID any longer and the Application can't user the CGI.HTTP_Referer any longer as a name, because the Application name has to stay the same to keep the variables tied to the Application... I need to store the first CGI.HTTP_Referer variable, then when the Application.cfm page is consulted, I can recall that saved original HTTP_Referer variable as some other variable and rename the Application.cfm with it. There's the question: How to save that variable, since I can't use application or session variables because on the second trip to the Application.cfm page, the Application will not have been defined and therefore an error occurs. Is there some variable that can be created after the first Application is named, then continue to be used until the Application is renamed? (I have got to learn how to do my own DNS, then I probably wouldn't have this problem. But I only have one server, and I need two for DNS service...don't I?) If I can get past this part, I've got the rest of this "one site for many companies" licked... If this is all crazy and someone else has a solution for this situation, I'm all ears...uh...or eyes... 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 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

