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?
>
> 
______________________________________________________________________
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=coldfusiona
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

Reply via email to