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

cfsearch and returned URL

Contributor ,
Oct 30, 2008 Oct 30, 2008
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
384
Translate
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
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
Translate
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