1 Reply Latest reply on Oct 30, 2008 11:06 PM by fober1

    cfsearch and returned URL

    plarts Level 1
      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,

        • 1. Re: cfsearch and returned URL
          fober1 Level 1
          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