El Toro
04-10-2005, 03:09 AM
Hi All,
With my online shopping cart (based on a 'Web Thang' tutorial using Classic ASP) I use a Session Variable Array to hold the ID's of the items that a user has added to the cart. The business is a collectable records store so each item is unique and has it's own ID, so no more than one of each item can be purchased. As the user adds an item to the shopping cart the 'on hold' boolean field for that item is set to true so that it wont appear in searches by other users. If the user closes the browser before completing a sale the items are left 'on hold'.
How can I make sure I can return the status of the items to 'available' if the user closes the browser?
Any help greatly appreciated.
Regards,
El Toro
With my online shopping cart (based on a 'Web Thang' tutorial using Classic ASP) I use a Session Variable Array to hold the ID's of the items that a user has added to the cart. The business is a collectable records store so each item is unique and has it's own ID, so no more than one of each item can be purchased. As the user adds an item to the shopping cart the 'on hold' boolean field for that item is set to true so that it wont appear in searches by other users. If the user closes the browser before completing a sale the items are left 'on hold'.
How can I make sure I can return the status of the items to 'available' if the user closes the browser?
Any help greatly appreciated.
Regards,
El Toro