Skip to main content
Participant
November 17, 2014
Question

ColdFusion 11 and CGI variables

  • November 17, 2014
  • 0 replies
  • 521 views

CF 11 gives me empty string value for #CGI.Path_Info# in all the subdirectories. It worked for CF9.

This is the code i use:

<cfparam name="documentsTemplate" default="#GetDirectoryFromPath(cgi.PATH_INFO)#" />

And the result of:

<cfdump var="#documentsTemplate#">


or


<cfdump var="#cgi.PATH_INFO#">

is:

[empty string]


I read it was the same issue for CF10.

Do you know the reason and the way to fix it?

Thanks a lot

    This topic has been closed for replies.