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 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:
Read and weep (2003)
[WebDNA] IIS 7.5 (2015)
return missing item (was:WebCat Sales) (1997)
RE: Missing contexts on NT (1997)
Help needed! (1998)
hotmail filtering emails (2004)
Configuring E-mail (1997)
apostrophe in search item (1997)
Kanji in http requests (1998)
cart (1997)
Further tests with the infamous shipCost (1997)
I try hard to think positively (1998)
Re:no [search] with NT (1997)
oops private message leaked into talk list (1997)
Problem with version 4 browsers (1998)
2.0Beta Command Ref (can't find this instruction) (1997)
Append problem w/" (1999)
[OT] Linux -> Winderz (2005)
WebCat Talk Arhives... (1998)
Problems with [Search] param - Mac Plugin b15 (1997)