I use CF Webstore which stores shopping cart data in a database table. I
think this is more customer-friendly since average mortals don't want to be
troubled by session expiration.




-----Original Message-----
From: Les Mizzell [mailto:[EMAIL PROTECTED] 
Sent: Monday, September 17, 2007 9: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?



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade to ColdFusion 8 and integrate with Adobe Flex
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288582
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to