i don't know if fully get what you're trying to do, but it seems you could
use some LIST functions with your separator as a delimiter. then it wouldn't
matter how long each element of the list is.

-----Original Message-----
From: Josh R [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 14, 2001 10:24 PM
To: CF-Talk
Subject: Evaluating strung together variables


I have a situation where two variables are needed in only one location. A
cookie for example. I was thinking of placing the variables together like:

(cfset cookie.chocolate="#ping#seperator#pong#") I.E. ping=1 & pong=2 so
cookie.chocolate=1seperator2. Pretty simple.

But the question I'm faced with is how can I comfortably seperate them a few
pages on so that I know from cookie.chocolate that ping=1 and pong=2?
I figure I have to use the evaluate string, but I'm not having any luck
getting the right argument. Ping and Pong won't always be the same length.
Ping may be 4-6 characters, and Pong may be 3-7 characters long.

I really don't want to use two seperate cookies and form, URL and session
variables are not an option for this.

Any suggestions here?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to