On 5/6/05, Robertson-Ravo, Neil (RX) <[EMAIL PROTECTED]> wrote: > CGI.HTTP_HOST should give you what you want.
On IIS at least that just gives you the domain name (as in "domain.com" and not "http://domain.com". To be totally anal and make sure you get the secure string if its a secure connection, you can do this: <cfif Len(Trim(CGI.QUERY_STRING)) GT 0> <cfset QueryDelim = "&" <cfelse> <cfset QueryDelim = ""> </cfif> <cfif CGI.HTTPS EQ "On"> <cfset HTTPData="https://"> <cfelse> <CFSET HTTPData="http://"> </cfif> <cfset CurrPage=HTTPData & CGI.SERVER_NAME & CGI.PATH_INFO & QueryDelim & CGI.QUERY_STRING> You should also be able to substitute cgi.script_name for cgi.path_info it you want. Same diff. cgi.https is present for sure on IIS. Not sure about other web servers. -- --mattRobertson-- Janitor, MSB Web Systems mysecretbase.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205892 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

