I'm running MX and I'm getting this error with this code:
ERROR:
Complex object types cannot be converted to simple values.
CODE:
<CFSET url = "#cgi.script_name#">
<cfoutput>#url#</cfoutput>
The code will work if I use <cfoutput>#cgi.script_name#</cfoutput> but, I need to store that value into a variable. How would I do this?
ERROR:
Complex object types cannot be converted to simple values.
CODE:
<CFSET url = "#cgi.script_name#">
<cfoutput>#url#</cfoutput>
The code will work if I use <cfoutput>#cgi.script_name#</cfoutput> but, I need to store that value into a variable. How would I do this?