> ============================================== > "cookieID=1ID=1&tblID=QQ_323s" > ==============================================
<cfscript> CookieVarList = ''; for (i=1; i=listlen(cookie.AffilPassedInfo,"&");i=i+1) { CookieItem = ListGetAt(cookie.AffilPassedInfo,i,"&"); CookieVarName = ListFirst(cookie.AffilPassedInfo,"="); CookieVarContent = ListLast(cookie.AffilPassedInfo,"="); SetVariable(CookieVarName,CookieVarContent); CookieVarList = ListAppend(CookieVarList,CookieVarName); } </cfscript> The above will pull all the pairs out and create the variables in the variables scope. It also gives you a variable (CookieVarList) with a list of all the variables you pulled out of the cookie. Regards Stephen ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm