Personally, I have them become a user before check out and then have the items in a shopping cart table based on their user id. That way it saves their cart for later purchase if needed. Else they can remove the items.
-----Original Message----- From: Les Mizzell [mailto:[EMAIL PROTECTED] Sent: Monday, September 17, 2007 10:41 AM To: CF-Talk Subject: Shopping Cart Theory I'm building a small shopping cart for a client - seems quicker to go from scratch than try to wrestle something already built back into our specific needs. Although I've done a couple of these, I was just wondering... What would the rest of you consider the optimal way to store items before checking out? Session var with an array? A temporary "holding database" for the items with just a UUID Session Var to keep up with the owner? I'm leaning towards the array in a session var - but this is on a shared server and I've seen sessions time out unexpectedly before, which wouldn't be good ("where'd all my stuff go???"). Anybody else? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Get the answers you are looking for on the ColdFusion Labs Forum direct from active programmers and developers. http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72&catid=648 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288575 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4