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:
Admin Edit prob. (1997)
[append] (1997)
2.0Beta Command Ref (can't find this instruction) (1997)
did I miss anything (1997)
[cart] not being interpreted inside [founditems] (1997)
[WebDNA] CSS HTML Email Using Emailer (2010)
[TCPSend] and whois? (1999)
Navigator 4.01 (1997)
Two prices in shoppingcart? (1997)
Visitor info (2000)
shopping cart bug? or link? (1999)
Sku numbers (1997)
Error Msg (1997)
Make sure I understand this??? (1997)
Searching multiple fields (1997)
Setting up shop (1997)
So many lookers, hey smith micro (2003)
shipping formula (2000)
problems with 2 tags shakur (1997)
2.0 Info (1997)