Pass an array through from one page to the next
I'm trying to pass an array through from one CF page to the next. I have been trying to do it as a hidden form variable using WDDX to serialise, then deserialise on the next page.
My code looks like this:
Page 1
<CFWDDX action="CFML2WDDX" input="#yourarray#" output="wddx_yourarray">
then in the form:
<input type="Hidden" name="wddx_yourarray" value="#wddx_yourarray#">
Page 2
<CFWDDX action="WDDX2CFML" input="#wddx_yourarray#"
output="yourarray">
The error I'm getting is:
WDDX packet parse error at line 1, column 519. The reference to entity "Nationality" must end with the ';' delimiter..
Anyone know what the problem is, or have a better suggestion as to how to do this?
