Hi, I'm a newbie to coldfusion. What I'm trying to acieve is send a string parameter in a url and have the next page read the value.
myfirstpage.cfm
<cfset subjectname = "English">
<cfoutput>
<a href="mynextpage.cfm?subjectname=#subjectname#>
#subjectname#</a>
</cfoutput>
mynextpage.cfm
The parameter visible in the url address bar is
so does seem to send value ok. The code to read the value is
<cfoutput>
#url.subjectname#
</cfoutput>
The value displayed in the browser is 0(zero). Why? How may I receive the string value?
myfirstpage.cfm
<cfset subjectname = "English">
<cfoutput>
<a href="mynextpage.cfm?subjectname=#subjectname#>
#subjectname#</a>
</cfoutput>
mynextpage.cfm
The parameter visible in the url address bar is
so does seem to send value ok. The code to read the value is
<cfoutput>
#url.subjectname#
</cfoutput>
The value displayed in the browser is 0(zero). Why? How may I receive the string value?