Phillip Perry wrote: > <cfparam name="session.cart" default="arrayNew()"> > <cfset session.cart = arrayAppend(session.cart, structnew())>
I know I'm late to the thread, but there's 3 problems with this sample: cfparam, default needs ##'s. arrayNew() takes an argument for how many dimensions you want your array (usually just 1 dimension). arrayAppend returns "true" if it was successful, so you're setting session.cart to "true" instead of the array you wanted. Instead, just <cfset arrayAppend(session.cart, structNew()) /> -nathan strutz http://www.dopefly.com/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:208887 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

