> -----Original Message-----
> From: Matt Schroebel [mailto:[EMAIL PROTECTED]
> 
> What if I abandon my cart?  Are you using transactions to make sure
all
> updates are atomic?

All cart records are stored to the database with a timestamp. On each
call to the cart_script, I check to see if any records are older than 24
hours and if they are, I dump the quantity back into inventory and
remove the entry from the DB.

A

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to