<cfparam name="session.compsEntered" default="#ArrayNew(1)#">
Should work. Ade -----Original Message----- From: Stuart Kidd [mailto:[EMAIL PROTECTED] Sent: 21 December 2005 16:07 To: CF-Talk Subject: Array in a session Hi guys, I'm getting java.object type error when i am calling a session variable. Is it possible to have an array stored in a session variable. Here is my calling code: <cfoutput> <cfloop from="1" to="#ArrayLen(session.compsEntered)#" index="i"> Entered #i#: #session.compsEntered[i]#<br> </cfloop> </cfoutput> I created the array like so. Maybe i can't create an array in a session cfparam: <cfparam name="session.compsEntered" default="ArrayNew(1)"> Any help i'd be grateful. Thanks, Saturday ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227427 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=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

