The way I'm using it the string is converted to an array in the 'for' statement. So you will need to split yours up into an array.
I would do it this way in a javascript function:
function SplitToArray(parmString) {
var newArray = parmString.split(",") //split on commas
return...
1. Do you populate the array in the first page and pass it through just fine to the next pages?
Yes, I'm sending a full populated array as a session variable. The session variable itself won't act as an array (at least I haven't been able to yet) which is why I pull it out of the Session...
I don't mean to throw a monkey wrench in the works, but I have a site where I build an array on the initial page and then store it in a Session variable.
On subsequent pages I retrieve the array this way:
var aryChain = Session("aryChain"); (that's using javascript)
Then I iterate...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.