Are you saying that you're allocating inventory to that person when they put the item in their shopping cart (meaning it's no longer available for sale)?
What I do is check inventory before it's placed in the cart to make sure there's adequate inventory, then I ignore it... When the order is to be placed, I re-check all the inventory and if anything is short I bounce them back to the cart with a message about what is no longer available... > I am trying to figure out how to deal with updating the inventory in a > shopping cart. I create (only if it doesn't already exist) an application > scoped array within a CFLOCK populated by looping over a query. As users add > items, I update the quantities in the that array. What I can't figure out is > how to deal with abandoned shopping carts - how do I update the inventory > back to the real value? > > ______________________________________________________________________ Get Your Own Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists