incidentally, deallocating in stock inventory is bad news.. unless, you have something like Ticketmaster where you have the real live demand. A similar place for deallocation would be auction settings... or where the sale item is a unique item (1 of a kind)...
If you must do the deallocation set reasonable thresholds for doing such.. such as only where inventory of widget is < 5 or where expected replenishment shipment > 3 days... -paris -----Original Message----- From: Billy Cravens [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 17, 2002 13:20 To: CF-Talk Subject: Re: Dealing with inventories Isn't this a security flaw? Seems like someone could easily script a Denial of Service to go to your site, add all your inventory to their cart, therefore preventing anything from being sold ----- Original Message ----- From: "stas" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Thursday, January 17, 2002 10:59 AM Subject: Dealing with inventories > Hello, > > 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? > > ______________________________________________________________________ Why Share? Dedicated Win 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=coldfusionc FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

