Try this:

<cfset SESSION.consumerProductExtraImg["Img#i#"] = filename>

Adrian

> -----Original Message-----
> From: Fawzi Amadu [mailto:[email protected]]
> Sent: 22 February 2009 20:36
> To: cf-talk
> Subject: Creating a variable to store information on the fly
> 
> 
> I am trying to code an application to capture the name of multiple
> images that are being upload at once. I have created session variables
> to hold the values, but because I am using a loop to do the process I
> want to create the set the session variable to store current
> information on the fly, but I get an error that I suspect is generated
> because of my assignment code (<cfset
> SESSION.consumerProductExtraImg.Img & #i# = "#filename#">) in my code
> below:


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319677
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to