Re: Carts & cookies
This WebDNA talk-list message is from 1999
It keeps the original formatting.
numero = 23408
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 tothe site that set them, so even if you have 20 stores on your server, each storecan set a cookie named cart each having it's own value, and the browser willonly 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:
> 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 tothe site that set them, so even if you have 20 stores on your server, each storecan set a cookie named cart each having it's own value, and the browser willonly 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:
emailer prob (1998)
Dates - Search and Sorting (1999)
Date Comparison (2003)
search / summary (2005)
method of payment (1997)
Exclamation point (1997)
Filemaker Pro and [convertchars] (2000)
Using Plug-In while running 1.6.1 (1997)
Cut off from the list and can't get an answer to the confused re:QTY price updating question (1998)
Emailer Set Up (1997)
TCPconnect in a DB? (1999)
About the E-mailer (2002)
WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997)
emailer (1997)
Web Site Hosting (2000)
Still trying to email... (1998)
Add sizes from check boxes (2002)
Logging purchases (1997)
Shopping problems with 2.1b3 acgi (1997)
Timeout question .. (2003)