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:
WebCommerce: Folder organization ? (1997)
Multiple Ad databases? (1997)
Sandbox Question (2003)
database freeze (1997)
DON'T use old cart file! (1997)
listfiles, moving files (1998)
WebCat2.0b15-to many nested [xx] tags (1997)
price formula (1999)
[WebDNA] API Integration (2010)
Filemaker Pro and [convertchars] (2000)
Emailer choke (1997)
WebCat B13 Mac CGI -- Frames question (1997)
RE: type 2 errors with ssl server (1997)
Triggers under Windows NT (2001)
Using a database with a short url (2000)
unable to launch acgi in WebCat (1997)
Re[2]: 2nd WebCatalog2 Feature Request (1996)
UnacceptedCard in 4.0 (2000)
WebCat2 several catalogs? (1997)
[WebDNA] User sessions - cookies only or cookies and a sessions.db? (2016)