Quantcast
Channel: Adobe Community : Popular Discussions - ColdFusion
Viewing all articles
Browse latest Browse all 14291

ColdFusion 11 and CGI variables

$
0
0

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


Viewing all articles
Browse latest Browse all 14291

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>