problems with [getcookie]

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 22634
interpreted = N
texte = I think I may be doing something wrong. This is the first time I have tried to use cookies to track a customer's shopping cart. Whe a customer first enters the product pages, I use: [SETCOOKIE name=AKCART&value=[CART]&path/ak/&domain=myserver.com] Then, when a customer adds an item to his/her cart, I use:
When I first log onto the product pages, I get the warning box that a cookie with value=x is being set on my computer. However, the number which has been assigned to the cart (y) is not the same as the number x. Infact, even if I re-enter the product page and reassign a new cookie, the number given to the cart is still the same (y). Am I not using the [getcookie] in the right context?Thank you in advance for any suggestions.Mike Associated Messages, from the most recent to the oldest:

    
  1. problems with [getcookie] (Mike Eberly 1999)
I think I may be doing something wrong. This is the first time I have tried to use cookies to track a customer's shopping cart. Whe a customer first enters the product pages, I use: [SETCOOKIE name=AKCART&value=[cart]&path/ak/&domain=myserver.com] Then, when a customer adds an item to his/her cart, I use: [url][sku][/url]&cart=[GETCOOKIE AKCART] method=post>When I first log onto the product pages, I get the warning box that a cookie with value=x is being set on my computer. However, the number which has been assigned to the cart (y) is not the same as the number x. Infact, even if I re-enter the product page and reassign a new cookie, the number given to the cart is still the same (y). Am I not using the [getcookie] in the right context?Thank you in advance for any suggestions.Mike Mike Eberly

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:

using showpage and showcart commands (1996) Comments in db? (1997) Authenticate (2000) inside out... how much? (2004) Search probl. since change WebCatalog from 2.1.3 to 3.0 (1998) SQL Error 22003 (2001) list cookies and list http headers (1997) Test (2000) Conditional searching & displaying (1997) I have troubles to send message out (1998) [WebDNA] Emailer and Comcast.net (2008) Sku numbers (1997) shipcost (1997) Include a big block of text (1997) Resume Catalog ? (1997) RE:It just Does't add up!!! (1997) cybercash on OSX - was Executing remote AppleScript (2000) Danger of [newcart] (1999) show all problem (1997) Keep away (1997)