Solved

Using Evaluate, alternative method?????

Posted on 2006-10-19
1
556 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
ID: 17767436
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

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Reverse Proxy Server 6 78
Recipient address rejected: User unknown in virtual alias table 1 270
Webserver access problem 5 68
Web server settings related to keepalive 1 107
Periodically we have to update or add SSL certificates for customers. Depending upon your hosting plan you may be responsible for the installation and/or key generation. In the wake of Heartbleed many sites were forced to re-key. We will concen…
Introduction This article explores the design of a cache system that can improve the performance of a web site or web application.  The assumption is that the web site has many more “read” operations than “write” operations (this is commonly the ca…
Concerto provides fully managed cloud services and the expertise to provide an easy and reliable route to the cloud. Our best-in-class solutions help you address the toughest IT challenges, find new efficiencies and deliver the best application expe…
Need to grow your business through quality cloud solutions? With everything required to build a cloud platform and solution, you may feel like the distance between you and the cloud is quite long. Help is here. Spend some time learning about the Con…

929 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

12 Experts available now in Live!

Get 1:1 Help Now