Link Details

Link 66822 thumbnail
User 224061 avatar

By gojko
via gojko.net
Published: Feb 18 2008 / 19:33

The print-on-demand service that I’ve chosen for my book has a fairly nice web user interface with lots of Ajax code. Generally, that web application is one of the best aspects of doing business with them. That’s why I was surprised to find a rather amateurish flaw in their shopping cart.
  • 11
  • 1
  • 1439
  • 606

Comments

Add your comment
User 217374 avatar

senfo replied ago:

0 votes Vote down Vote up Reply

A better solution would be to maintain an order "state", which would prevent the same order from being processed twice. Even with all of the improvements that the Internet has gotten over the past few years, packets do still get lost, so we would never want an order to get lost simply because the packet was lost and the user couldn't resubmit the order because the button was disabled.

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (11)



Voters Against This Link (1)