Skip to main content
Inspiring
October 30, 2008
Question

cfsearch and returned URL

  • October 30, 2008
  • 1 reply
  • 406 views
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.

This topic has been closed for replies.

1 reply

Inspiring
October 31, 2008
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