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.
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)