Solved

Using Evaluate, alternative method?????

Posted on 2006-10-19
1
555 Views
Last Modified: 2013-12-24
Can this be rewritten to NOT use evaluate and get the same effect?

<cfset aList = Evaluate("COOKIE.#attributes.cookiename#")>
<cfset "COOKIE.#attributes.cookiename#" = ListAppend(aList,attributes.someValue)>

Thanks,

-ws
0
Comment
Question by:Westside2004
1 Comment
 
LVL 12

Accepted Solution

by:
mkishline earned 250 total points
Comment Utility
I haven't tried something like that before, but it should work like this:

<cfset aList = cookie[attributes.cookiename] />
<cfset cookie[attributes.cookiename] = ListAppend(aList, attributes.someValue) />
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Most ColdFusion developers get confused between the CFSet, Duplicate, and Structcopy methods of copying a Structure, especially which one to use when. This Article will explain the differences in the approaches with examples; therefore, after readin…
Article by: kevp75
Hey folks, 'bout time for me to come around with a little tip. Thanks to IIS 7.5 Extensions and Microsoft (well... really Windows 8, and IIS 8 I guess...), we can now prime our Application Pools, when IIS starts. Now, though it would be nice t…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now