Re: Carts & cookies

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 23245
interpreted = N
texte = >>>We need three newish cart tags, [&cart] [?cart] [input-cart] >>>these would all look for the presence of a cart in a cookie named cart >>>and hide themselves if their presence was not needed, and they would fill in >>>just like the above examples if a browser failed to send back a cart >>>value, but >>>WebCatalog would be programmed (possibly with a user selectable setting >>>to turn >>>this off?) to attempt to set a cookie with the current cart on any page >>>request >>>that didn't include the cart cookie. >> >>Sounds interesting, but this will create problems ... >> >>>If WebCatalog detects a cookie named cart, it uses that value >>>automatically for all cart tags that may be needed on that page. >> >>This is exactly where the problems will come in ... >> >>This technique would result in re-using a previously-used cart values for >>a new and completely different carts when the same user happens to return >>to the site to create a new order -- even if the previous order has >>already been completed. > > No. > > 1. Remove the cookie when purchase is done > 2. The should expire at the end of the browser session > > (on the other hand - there's other problems with cookies, so personally I > prefer the cart approach).Honestly, the fact that WebCatalog doesn't expire cart NUMBERS after some period of time is almost borderline unacceptable programming. Last month I had at least 4 people use the same cart number to check out days apart. What I mean by this is a guy comes to the site, and book marks some internal page. He then purchases something. I get the order, process it, and archive the order. Days later, he uses the bookmark (with the preused cart number, issued 14 days ago!) to make another purchase. The system allows this, as a file with that number doesn't exist in the order folder. I go to archive it, and low and behold, I overwrite the previous order with this new order. I have had to add programming to append a random number to the end of the order file name to make sure I don't overwrite my UNIQUE(?!?) cart based order numbers.I suppose I could leave the orders in the orders folder, then I could really PISS OFF the customer by popping up a cart has already been submitted message when he attempts to place his order, how's that for an idea?Anyway, WebCatalog should have a user selectable timeout where it sees a cart, and then it reissues a new cart number if the old cart number is too old (these cart numbers are based on a derivative of a time function, aren't they!)While we are here, why aren't carts Hex numbers, or even the whole alphabet + number (26 lower, 26 upper, 10 digits = 62 characters) to reduce the unwieldy length of these things??? Brian B. Burton BOFH - Department of Redundancy Department --------------------------------------------------------------- MMT Solutions - Specializing in Online Shopping Solutions 973-808-8644 http://www.safecommerce.comProtect your right to own and arm bears. Associated Messages, from the most recent to the oldest:

    
  1. [WebDNA] Old carts not deleting (Stuart Tremain 2015)
  2. [WebDNA] ShoppingCarts issue (=?ISO-8859-1?Q?Cristi=E1n_Tapia?= 2009)
  3. [WebDNA] ShoppingCarts folder permissions (Paul Willis 2008)
  4. Re: emptying shopping carts and orders folder ( Donovan Brooke 2004)
  5. Re: emptying shopping carts and orders folder ( "Paul Berman" 2004)
  6. Re: emptying shopping carts and orders folder ( Donovan Brooke 2004)
  7. Re: emptying shopping carts and orders folder ( "Paul Berman" 2004)
  8. Re: emptying shopping carts and orders folder ( John Peacock 2004)
  9. Re: emptying shopping carts and orders folder ( "Paul Berman" 2004)
  10. Re: emptying shopping carts and orders folder ( Donovan Brooke 2004)
  11. Re: emptying shopping carts and orders folder ( "Paul Berman" 2004)
  12. SQL ShoppingCarts v5.x ( Bob Minor 2003)
  13. ShoppingCarts and Sandboxes ( Tim Robinson 2003)
  14. Re: 5.0: Blank shopping carts & other weirdness (WJ Starck 2003)
  15. Re: 5.0: Blank shopping carts & other weirdness (John Peacock 2003)
  16. 5.0: Blank shopping carts & other weirdness (WJ Starck 2003)
  17. Re: Multiple Carts with Mac IE (Kenneth Grome 2002)
  18. Multiple Carts with Mac IE (Richard Kirsner 2002)
  19. Re: moved shoppingCarts folder... now there's nothing in it. (Josh Lynn 2001)
  20. Re: moved shoppingCarts folder... now there's nothing in it. (Will Starck 2001)
  21. moved shoppingCarts folder... now there's nothing in it. (Josh Lynn 2001)
  22. Re: Shopping Carts folder does not exist in Linux (John Peacock 2000)
  23. Shopping Carts folder does not exist in Linux (John Winningham 2000)
  24. Re: WebCatalog not recognizing ShoppingCarts folder (WebDNA Support 2000)
  25. Re: WebCatalog not recognizing ShoppingCarts folder (John Winningham 2000)
  26. Re: WebCatalog not recognizing ShoppingCarts folder (Bob McPeak 2000)
  27. Re: WebCatalog not recognizing ShoppingCarts folder (Jay Van Vark 2000)
  28. Re: WebCatalog not recognizing ShoppingCarts folder (John Winningham 2000)
  29. Re: WebCatalog not recognizing ShoppingCarts folder (Jay Van Vark 2000)
  30. Re: WebCatalog not recognizing ShoppingCarts folder (John Winningham 2000)
  31. Re: WebCatalog not recognizing ShoppingCarts folder (John Butler 2000)
  32. Re: WebCatalog not recognizing ShoppingCarts folder (John Winningham 2000)
  33. WebCatalog not recognizing ShoppingCarts folder (John Winningham 2000)
  34. Re: carts on MacOS X Server (James Howarth 2000)
  35. Re: carts on MacOS X Server (John Butler 2000)
  36. Re: carts on MacOS X Server (oops) (Clement Ross 2000)
  37. Re: carts on MacOS X Server (Clement Ross 2000)
  38. Re: carts on MacOS X Server (Peter Ostry 2000)
  39. carts on MacOS X Server (Nitai 2000)
  40. Re: Carts & cookies (Brian B. Burton 1999)
  41. Re: Carts & cookies (Brian B. Burton 1999)
  42. Re: Carts in Admin folder? (PCS Technical Support 1999)
  43. Re: Carts in Admin folder? (The Mooseman 1999)
  44. Re: Carts in Admin folder? (Mícheál O Sé 1999)
  45. Re: Carts in Admin folder? (Gil Poulsen 1999)
  46. Re: Carts in Admin folder? (Mícheál O Sé 1999)
  47. Carts in Admin folder? (Gil Poulsen 1999)
  48. Re: Carts & cookies (Peter Ostry 1999)
  49. Re: Carts & cookies (Brian B. Burton 1999)
  50. Re: Carts & cookies (Christer Olsson 1999)
  51. Re: Carts & cookies (Kenneth Grome 1999)
  52. Re: Carts & cookies (josh@pop-art.com 1999)
  53. Carts & cookies (Brian B. Burton 1999)
  54. Re: Does anyone have a solution to make carts smaller? (PCS Technical Support 1998)
  55. Re: Does anyone have a solution to make carts smaller? (Carlos Machado 1998)
  56. Re: Does anyone have a solution to make carts smaller? (PCS Technical Support 1998)
  57. Re: Why don't my carts expire (Rob Schmidt 1998)
  58. Why don't my carts expire (Steve Rosenbaum 1998)
  59. Change 2.0 to 2.1: Carts files not written to disk automatically (Gilles Renoul 1998)
  60. 2.0.1: Shopping Carts deleted after 1 hour (Grant Hulbert 1997)
  61. Re: Carts & Refering URLs (John Hill 1997)
  62. Re: Carts & Refering URLs (Michael Winston 1997)
  63. Re: Carts & Refering URLs (Christer Olsson 1997)
  64. Re: Carts & Refering URLs (John Hill 1997)
  65. Carts & Refering URLs (John Benn/PetsForum Group 1997)
  66. Re: different ship dates and shopping carts -- how to? (Kenneth Grome 1997)
  67. Re: different ship dates and shopping carts -- how to? (Sandra L. Pitner 1997)
  68. Re: different ship dates and shopping carts -- how to? (Grant Hulbert 1997)
  69. Re: different ship dates and shopping carts -- how to? (Kenneth Grome 1997)
  70. different ship dates and shopping carts -- how to? (Sandra L. Pitner 1997)
  71. Re: Viewing old carts (was Re: FEW QUESTIONS) (Grant Hulbert 1997)
  72. Re: Viewing old carts (was Re: FEW QUESTIONS) (natasha 1997)
  73. Viewing old carts (was Re: FEW QUESTIONS) (Grant Hulbert 1997)
  74. Re: Shopping carts and reloading pages (Stephanie Wright 1997)
  75. Re: Shopping carts and reloading pages (Grant Hulbert 1997)
  76. Shopping carts and reloading pages (Stephanie Wright 1997)
>>>We need three newish cart tags, [&cart] [?cart] [input-cart] >>>these would all look for the presence of a cart in a cookie named cart >>>and hide themselves if their presence was not needed, and they would fill in >>>just like the above examples if a browser failed to send back a cart >>>value, but >>>WebCatalog would be programmed (possibly with a user selectable setting >>>to turn >>>this off?) to attempt to set a cookie with the current cart on any page >>>request >>>that didn't include the cart cookie. >> >>Sounds interesting, but this will create problems ... >> >>>If WebCatalog detects a cookie named cart, it uses that value >>>automatically for all cart tags that may be needed on that page. >> >>This is exactly where the problems will come in ... >> >>This technique would result in re-using a previously-used cart values for >>a new and completely different carts when the same user happens to return >>to the site to create a new order -- even if the previous order has >>already been completed. > > No. > > 1. Remove the cookie when purchase is done > 2. The should expire at the end of the browser session > > (on the other hand - there's other problems with cookies, so personally I > prefer the cart approach).Honestly, the fact that WebCatalog doesn't expire cart NUMBERS after some period of time is almost borderline unacceptable programming. Last month I had at least 4 people use the same cart number to check out days apart. What I mean by this is a guy comes to the site, and book marks some internal page. He then purchases something. I get the order, process it, and archive the order. Days later, he uses the bookmark (with the preused cart number, issued 14 days ago!) to make another purchase. The system allows this, as a file with that number doesn't exist in the order folder. I go to archive it, and low and behold, I overwrite the previous order with this new order. I have had to add programming to append a random number to the end of the order file name to make sure I don't overwrite my UNIQUE(?!?) cart based order numbers.I suppose I could leave the orders in the orders folder, then I could really PISS OFF the customer by popping up a cart has already been submitted message when he attempts to place his order, how's that for an idea?Anyway, WebCatalog should have a user selectable timeout where it sees a cart, and then it reissues a new cart number if the old cart number is too old (these cart numbers are based on a derivative of a time function, aren't they!)While we are here, why aren't carts Hex numbers, or even the whole alphabet + number (26 lower, 26 upper, 10 digits = 62 characters) to reduce the unwieldy length of these things??? Brian B. Burton BOFH - Department of Redundancy Department --------------------------------------------------------------- MMT Solutions - Specializing in Online Shopping Solutions 973-808-8644 http://www.safecommerce.comProtect your right to own and arm bears. Brian B. Burton

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Processing stops (2006) Is there a way......... (2000) New Cart No. on same page (2003) alternatives for WebDNA (2004) About to give up (1998) Old $ commands and migration (2004) cybercash (1997) RE: [WebDNA] Happy New Year! (2009) Order not created error (1997) Price lookup problem - was Cart questions (1997) [WebDNA] WebDNA 8.6 announced - New features (2018) SiteCheck & WebCat ? (1997) a new bug? (1999) RE: Answer: WebDelivery downloads alias, not original ? (1997) FM fields with CR - How to export/import? (2000) default error on NT? (1997) More questions about serial number dishing (1997) (2) Leading reasons for TCPConnect randomly failing? (1999) More on the email templates (1997) ShowNext Context (2004)