Re: Carts & cookies

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 23238
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). ************************************************************* Christer Olsson Stora Nygatan 21 Phone +46 40 791 50 Ljusa Ideer AB S-211 37 Malmoe Fax +46 40 97 99 77 Sweden http://www.ljusaideer.se 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). ************************************************************* Christer Olsson Stora Nygatan 21 Phone +46 40 791 50 Ljusa Ideer AB S-211 37 Malmoe Fax +46 40 97 99 77 Sweden http://www.ljusaideer.se Christer Olsson

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:

[SHOWIF AND/OR] (1997) Unexpected error (1997) Restoring textarea stored in header (1998) cookies and [returnraw] (1997) version 2 for NT (1997) cart (1997) Search (1997) Help with Grep exchange (2005) Problem with Formulas.db (1998) docs for WebCatalog2 (1997) exclusive db lock with webcat-3 ? (2000) PCS Frames (1997) Emailer Error 472? (2004) A multi-processor savvy WebCatalog? (1997) decrypt trouble - solved (2006) Nested searches (1998) Month from number (2002) webcat in the subject line - SMSI (2002) WebCatalog/WebMerchant 2.1 (1998) SKU's (2000)