What kind of data structure would you recommend storing a shopping cart as?
I have set one up as a structure Session.Cart which contains a set of
structures identified by ProductID as the Keys, where each of these
structures contains the basic info about each product ordered (name, price,
quantity). I'm storing more than just the ProductID and Quantity in order to
reduce database load. Is this a good way of doing it, or would an array or a
list or whatever be better. There must be one best way I should think. What
do people consider that to be??
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.