• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

cfsearch and returned URL

Contributor ,
Oct 30, 2008 Oct 30, 2008

Copy link to clipboard

Copied

When returning the URL founded, I just have the name of the file,
I do not have the path (where is that file ?)
So I cannot redirect the user to that page.

Is there a way to find the path of the file ?

Thanks for any answer,
Pierre.

TOPICS
Advanced techniques

Views

356

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Oct 30, 2008 Oct 30, 2008

Copy link to clipboard

Copied

LATEST
Hi,
you need to provide more info.

You may want to have a look at the CGI variable.

Put the following code somewhere into a test.cfm page:
<cfdump var="#cgi#">

These are all parameters for what CF knows about your page. Like where a customer comes from (CGI.HTTP_REFERER) or the complete path and name of the page you are looking at (CGI.PATH_TRANSLATED)

hope that helps

cheers,
fober

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation