Re: Carts & cookies

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 23409
interpreted = N
texte = > Excellent suggestion. We have now begun to use cookies to setcarts. That > way if someone leaves the site, there cart will retain products incase they > come back to purchase. > > I would add to the [cookiecart tag], the ability to specifiy a name, so if > you are running more than one store you can have a different cookiecart for > each one. Maybe something like [cartcookie name=mystorecart].This isn't needed because (a HTML limitation) cookies can only be returned to the site that set them, so even if you have 20 stores on your server, each store can set a cookie named cart each having it's own value, and the browser will only send the right cookie to the right store.Also, for best compatibly your cookie should have 2 periods in it's host field, i.e. host=.safecommerce.com will return the same value for www.safecommerce.com, web.safecommerce.com, secure.safecommerce.com 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)
> Excellent suggestion. We have now begun to use cookies to setcarts. That > way if someone leaves the site, there cart will retain products incase they > come back to purchase. > > I would add to the [cookiecart tag], the ability to specifiy a name, so if > you are running more than one store you can have a different cookiecart for > each one. Maybe something like [cartcookie name=mystorecart].This isn't needed because (a HTML limitation) cookies can only be returned to the site that set them, so even if you have 20 stores on your server, each store can set a cookie named cart each having it's own value, and the browser will only send the right cookie to the right store.Also, for best compatibly your cookie should have 2 periods in it's host field, i.e. host=.safecommerce.com will return the same value for www.safecommerce.com, web.safecommerce.com, secure.safecommerce.com 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:

verify online (1997) Re:Virtual hosting and webcatNT (1997) Nested tags count question (1997) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) Yahoo! Auto Response (2000) WebCat2 Append problem (B14Macacgi) (1997) [WebDNA] v7 Stress Test and Strange Behaviour (2012) Wireless WebDNA available today! (2000) Leap Day Triggers (2000) OT - webdnadev.net ...... links bad??? (2005) Not really WebCat (1997) [WebDNA] More wish-list requests implemented (2016) using showpage and showcart commands (1996) Seeking Better Display of results... (1997) Finding max value for a field (1997) Using the sendmail command on CGate Pro (Unix) (2000) [AppendFile] problem (WebCat2b13 Mac .acgi) (1997) passing large amount of text in post form (2005) WebCat2b12plugin - [search] is broken ... not! (1997) WebCat2 as a chat server? (1997)