Question
Session/Array issue with IE7/Firefox 3
The code below has been working fine for years in all
browsers previous to IE7 and Firefox 3. But now as users upgrade to
the new browsers they get the following error:
Element CRITERIA is undefined in a Java object of type class [Ljava.lang.String; referenced as ...
The offending code is:
<cfparam name="SESSION.criteria[#x#]" default="0">
<cfparam name="SESSION.operator[#x#]" default="0">
<cfparam name="SESSION.value[#x#]" default="0">
Where I'm looping over this code and 'x' is goes from 1 to say 10.
I've already declared the arrays with:
<cfset criteria = ArrayNew(1)>
<cfset operator = ArrayNew(1)>
<cfset value = ArrayNew(1)>
Any ideas? What's up with the newer browsers that causes this?
Thanks,
Craig.
Element CRITERIA is undefined in a Java object of type class [Ljava.lang.String; referenced as ...
The offending code is:
<cfparam name="SESSION.criteria[#x#]" default="0">
<cfparam name="SESSION.operator[#x#]" default="0">
<cfparam name="SESSION.value[#x#]" default="0">
Where I'm looping over this code and 'x' is goes from 1 to say 10.
I've already declared the arrays with:
<cfset criteria = ArrayNew(1)>
<cfset operator = ArrayNew(1)>
<cfset value = ArrayNew(1)>
Any ideas? What's up with the newer browsers that causes this?
Thanks,
Craig.
