Posted on 2008-06-09
I have a variables set in a cookie. It can have a max of three variables, e.g. (17000,18234,21345)
I've tried to loop through them with no success. I need to loop through the cookie and pull each value out and assign the cookie name (CFID) and number to it. For example the first value would be CIDS1 and the second, CIDS2, etc.
<cfset arr = ArrayNew(1)>
<cfloop index="i" list="#CIDS#" delimiters=",">
<cfset ArrayAppend(arr, i)>