You can also try using: <cfinclude template="desiredPage" />
That way you don't have to worry about passing parameters in the URL since the included page will have access to all the variable scopes of the including page. Cantrell S. Isaac Dealey wrote: > <cflocation url="http://#cgi.http_host#/?#cgi.query_string#" addtoken="no"> > > hth > > > Isaac > Certified Advanced ColdFusion 5 Developer > > www.turnkey.to > 954-776-0046 > > >>Hi everyone. >>I have two sites that I am working with, lets say >>buddy1.com and buddy2.com. >>They both go to the same place, same server, same file. >>Here is my problem. buddy2.com is out of date, so what I >>would like to do is >>when a user hits index.cfm check and see if they typed >>buddy1.com or >>buddy2.com. Then if they typed buddy2.com I will grab any >>url variables they >>may have and forward them to buddy1.com?theirVariablesHere > > >>The problem is looking at the url they typed, I can't seem >>to figure out how >>to do this. Any advice? >>Thanks in advance. >>Buddy > > >>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >>~~~~~~~~~~~| >>Archives: >>http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 >>Subscription: http://www.houseoffusion.com/index.cfm?sideb >>ar=lists&body=lists/cf_talk >>FAQ: http://www.thenetprofits.co.uk/coldfusion/faq >>Structure your ColdFusion code with Fusebox. Get the >>official book at http://www.fusionauthority.com/bkinfo.cfm > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com

