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:
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)