[thelist] Finding the URL of the page in ColdFusion
Raymond Camden
jedimaster@macromedia.com
Tue Apr 3 11:21:41 2001
Use CGI vars.
<CFOUTPUT>http://#CGI.HTTP_HOST##CGI.SCRIPT_NAME#</CFOUTPUT>
You can also do:
<CFOUTPUT>http://#CGI.HTTP_HOST##CGI.SCRIPT_NAME#?#CGI.QUERY_STRING#</CFOUTP
UT>
to be more precise. You should change http to https if your on a secure
server.
=======================================================================
Raymond Camden, Principal Spectra Compliance Engineer for Macromedia
Email : jedimaster@macromedia.com
ICQ UIN : 3679482
"My ally is the Force, and a powerful ally it is." - Yoda
> -----Original Message-----
> From: thelist-admin@lists.evolt.org
> [mailto:thelist-admin@lists.evolt.org]On Behalf Of Faust@ThinkChurch.com
> Sent: Tuesday, April 03, 2001 11:29 AM
> To: thelist@lists.evolt.org
> Subject: [thelist] Finding the URL of the page in ColdFusion
> How do you find the URL of the page currently being displayed by
> the browser? I want to know so I can get rid of any links to the
> page the user is currently viewing. For example:
>