Coldfusion

ColdFusion cfinclude variable passing

Thursday, September 10th, 2009

I just ran into an issue when i needed to pass a variable into a template i had called using <cfinclude>.
Coldfusion will error if you try and pass a variable within the include tag Eg. <cfinclude template=”mypage.cfm?myvariable=1″>
To get around this all you need to do is pass in the variable before the include tag, appended [...]