Re: Cookie still not working

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 22697
interpreted = N
texte = Off hand, the path looks suspicious to me. There's no = sign. I don't have the syntax rules in front me, but I always use&path=/ so I'm thinking there needs to be an equal sign.Another question I have is about the absence of www. in myserver.com. Is there something about requiring 2 .'s in the domain for cookies? Again, this is fuzzy in my memory.Internet explorer 4.5 preferences has a convenient way of viewing cookie values in the preferences. You can delete them also, to make sure you are starting with what you think. Without the expiration date, the cookie should expire when you quit your browser. good luck! >I did not receive an answer to my cookie problem which I posted last >week. I still have not been able to get it to work. Am I doing something >wrong? >This is the first time I have tried to use cookies to track a customer's >shopping cart. >When 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: >
action=ItemAdded.tpl?command=add&db=Catalog.db&sku=[url][sku][/url]&cart= >[GETCOOKIE >AKCART] method=post> > >If I try this out: >When I first log onto the product pages, I get the warning 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. Re: Cookie still not working (Will Starck 1999)
  2. Re: Cookie still not working (SHERRY BALL 1999)
  3. Re: Cookie still not working (Will Starck 1999)
  4. Re: Cookie still not working (SHERRY BALL 1999)
  5. Re: Cookie still not working (Kenneth Grome 1999)
  6. Re: Cookie still not working (PCS Technical Support 1999)
  7. Re: Cookie still not working (Mike_Davis 1999)
  8. Re: Cookie still not working (Kenneth Grome 1999)
  9. Re: Cookie still not working (Christer Olsson 1999)
  10. Re: Cookie still not working (Sandra L. Pitner 1999)
  11. Cookie still not working (Mike Eberly 1999)
Off hand, the path looks suspicious to me. There's no = sign. I don't have the syntax rules in front me, but I always use&path=/ so I'm thinking there needs to be an equal sign.Another question I have is about the absence of www. in myserver.com. Is there something about requiring 2 .'s in the domain for cookies? Again, this is fuzzy in my memory.Internet explorer 4.5 preferences has a convenient way of viewing cookie values in the preferences. You can delete them also, to make sure you are starting with what you think. Without the expiration date, the cookie should expire when you quit your browser. good luck! >I did not receive an answer to my cookie problem which I posted last >week. I still have not been able to get it to work. Am I doing something >wrong? >This is the first time I have tried to use cookies to track a customer's >shopping cart. >When 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: >action=ItemAdded.tpl?command=add&db=Catalog.db&sku=[url][sku][/url]&cart= >[GETCOOKIE >AKCART] method=post> > >If I try this out: >When I first log onto the product pages, I get the warning 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 > > > > Sandra L. Pitner

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:

OT: 800x600 (2003) webmerchant/ Mac Auth. and CC refunds (1998) CAPTCHA system in webDNA (2005) [searchString] (1997) Repeating Fields (1997) Disappearing data (2002) Update: Pay by Mail (CC, Check, Money Order) (2001) Store setup questions (2000) PIXO support (1997) Bug alert! (1997) RE: format problem on NT? (1997) emailer (1997) Concatenating Form Variables (1998) [format xs] freeze (1997) Loss in form (1998) Sorry WebDNA server not running ????? (2002) PCS Frames (1997) Help formatting search results w/ table (1997) Re:Hideif / Showif (1998) F2 to F3 rocky transition (1997)