I am new to MX7, I test two lines of code as below:
<cfset url="#cgi.script_name#">
<cfoutput>#url#</cfoutput>
Then the error message shows:
---------------------------
Complex object types cannot be converted to simple values.
The expression has requested a variable or an intermediate
expression result as a simple value, however, the result cannot be
converted to a simple value. Simple values are strings, numbers,
boolean values, and date/time values. Queries, arrays, and COM
objects are examples of complex values. .....
-----------------------
Please help.