Skip to content

Instantly share code, notes, and snippets.

@phantom42
Last active December 14, 2015 08:29
Show Gist options
  • Save phantom42/5057809 to your computer and use it in GitHub Desktop.
Save phantom42/5057809 to your computer and use it in GitHub Desktop.
<!--- Get request from ColdFusion page contenxt. --->
<cfset objRequest = GetPageContext().GetRequest() />
<!--- Get requested URL from request object. --->
<cfset strUrl = objRequest.GetRequestUrl().Append(
"?" & objRequest.GetQueryString()
).ToString()
/>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment