Umm... I think the original code got you a bit confused... he wasn't
setting a variable with the name "s#loopcount#" -- he was just
displaying that in the page for reference.

> Kristopher,

> Try this:

> <cfscript>
> for(LoopCount=1;LoopCount LTE cookie.COMPASS.sid.count;
> LoopCount = LoopCount + 1)
>       setVariable(Evaluate("s" &
>       LoopCount),Evaluate("cookie.COMPASS.sid." & LoopCount));
> </cfscript>

> I didn't test it, but it should work for you.

> Dave
> -----Original Message-----
> From: Kristopher Pilles [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, July 27, 2005 10:43 AM
> To: CF-Talk
> Subject: Confused about this...


> I need to output the COOKIE.COMPASS.SID.#LOOPCOUNT#  But I
> don't know
> hwo to???

> Can anyone throw me a pearl?


> <cfloop
> Index="LoopCount"
> from="1"
> to="#cookie.COMPASS.sid.count#">
> <cfoutput>
> s#loopCount# = #cookie.COMPASS.sid.#LoopCount#
> </cfoutput>
> </cfloop>


s. isaac dealey   954.522.6080
new epoch : isn't it time for a change?

add features without fixtures with
the onTap open source framework

http://www.fusiontap.com
http://coldfusion.sys-con.com/author/4806Dealey.htm




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212991
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to