Hi all, I have the following inside a Custom Tag:
"session.#attributes.CartName#" = StructNew(); "session.#attributes.CartName#.items = ArrayNew(); Which seems to work fine, however if I try the following line: "session.#attributes.CartName#.items[1] = "blahblahblah"; or <cfset "session.#attributes.CartName#.items[1]" = "blahblahblah"> I get the following error: --- Cannot set dynamic variable with name 'session.myCart.items[1]'. The variable name is illegal. Variable names must start with a letter and can include only letters, numbers, and underscores. --- Obviously I am passing in the name 'myCart' as an attribute to the custom tag. Any ideas why it won't let me set any values in the array? Much thanks, Jared ______________________________________________________________________ Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation � $99/Month � Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

