There's no particular reason to use list. I was wondering about using arrays
instead, and then got pulled elsewhere. Thx.

-- gil



-----Original Message-----
From: Sean Corfield [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 28, 2004 10:59 PM
To: CF-Talk
Subject: Re: shopping cart, session variables - best practices


On Tue, 28 Dec 2004 21:12:58 -0500, mayo <[EMAIL PROTECTED]> wrote:
> The following are lists:
>
> Item No (itemID used in check out)
> Item Qty (in case someone wants more than one)
> Item Price
> Item Description (most descriptions about 50 characters. ex: "Ruby and
gold
> drop-earrings")

Any reason you're not using an array of structs? It would be much
cleaner to work with and much faster than using lists (which is going
to have much more impact on your performance than "storing data").
--
Sean A Corfield -- http://www.corfield.org/
Team Fusebox -- http://www.fusebox.org/
Breeze Me! -- http://www.corfield.org/breezeme
Got Gmail? -- I have 6 invites to give away!

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Special thanks to the CF Community Suite Silver Sponsor - New Atlanta
http://www.newatlanta.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:188916
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

Reply via email to