Advertisement

10.18.2005 at 08:29PM PDT, ID: 21599790
[x]
Attachment Details

Get Entire Current URL From ColdFusion?

Asked by rebies in ColdFusion Application Server, ColdFusion Studio

Tags: , , ,

How do I get the entire current URL from ColdFusion?

For example, if a user is at:

http://sub.mysite.com/somedir/thisfile.cfm?q=search&advanced=1&more=etc

Is there no easy way of getting this out of ColdFusion?  I would think there would be a variable I could reference to just pull this out.

Also, I’m a bit afraid of using the CGI Variables SERVER_NAME, HTTP_HOST, QUERY_STRING, and SCRIPT_NAME because I’m wondering if old browsers won’t be using these sort of parameters!?!?

Also, anyone have such a script available that builds the full URL for me again?

Andrew
Start Free Trial
 
Loading Advertisement...
 
[+][-]10.18.2005 at 08:32PM PDT, ID: 15113276

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.18.2005 at 08:36PM PDT, ID: 15113291

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: ColdFusion Application Server, ColdFusion Studio
Tags: coldfusion, url, get, current
Sign Up Now!
Solution Provided By: ShytKicker
Participating Experts: 1
Solution Grade: A
 
 
[+][-]10.18.2005 at 11:39PM PDT, ID: 15113809

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.19.2005 at 03:09AM PDT, ID: 15114483

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.19.2005 at 10:43AM PDT, ID: 15118100

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32