Re: Carts & cookies

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 23233
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.That's a 'bad thing' ... :(One reason for passing cart values in URLs and forms is that each cart value is absolutely unique, there's never any duplication of the cart value from one order to another. The technique you're suggesting would destroy the uniqueness of a cart value by re-using the old ones stored in cookies.I like the basic concept of allowing shoppers to come back and finish their shopping later (without their having to enter a username or password to re-open an existing cart), but there's got to be some other way to do it ... one that truly preserves the uniqueness of each and every cart *without* re-using old cart values.Sincerely, Ken Grome 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.That's a 'bad thing' ... :(One reason for passing cart values in URLs and forms is that each cart value is absolutely unique, there's never any duplication of the cart value from one order to another. The technique you're suggesting would destroy the uniqueness of a cart value by re-using the old ones stored in cookies.I like the basic concept of allowing shoppers to come back and finish their shopping later (without their having to enter a username or password to re-open an existing cart), but there's got to be some other way to do it ... one that truly preserves the uniqueness of each and every cart *without* re-using old cart values.Sincerely, Ken Grome Kenneth Grome

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:

(1997) Errata: WCS Newbie question (1997) RequiredFields notes ... (1997) Separate SSL Server (1997) docs for WebCatalog2 (1997) Pithy questions on webcommerce & siteedit (1997) Multiple fields on 1 input (1997) NumFound (1999) A multi-processor savvy WebCatalog? (1997) WebCat editing, SiteGuard & SiteEdit (1997) Configuration Q (1998) Credit Card not accepted (1998) Roundup function? (1997) Sort Order on a page search (1997) switching users (1998) WebTen and WebCat (1997) Limit picture size on upload (2005) my SOS last week... (1996) Blocking form spam (2006) Multiple condition showif's (2004)