Re: Cookie still not working

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 22698
interpreted = N
texte = >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=[GETC >OOKIE >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.Many browsers does niot accept domain fields in cookies not containing at least two dots. So mydomain.com will fail but www.mydomain.com will work. ************************************************************* Christer Olsson Stora Nygatan 21 Phone +46 40 791 50 Ljusa Ideer AB S-211 37 Malmoe Fax +46 40 97 99 77 Sweden http://www.ljusaideer.se 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)
>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=[GETC >OOKIE >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.Many browsers does niot accept domain fields in cookies not containing at least two dots. So mydomain.com will fail but www.mydomain.com will work. ************************************************************* Christer Olsson Stora Nygatan 21 Phone +46 40 791 50 Ljusa Ideer AB S-211 37 Malmoe Fax +46 40 97 99 77 Sweden http://www.ljusaideer.se Christer Olsson

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:

WebCat2b13MacPlugin - nested [xxx] contexts (1997) OBDC Support (1997) RE: Languages (1997) Permissions (2002) WCS Newbie question (1997) Error Lob.db records error message not name (1997) looping table rows (1999) Another new bug found ... (2000) WebCat2b15MacPlugin - showing [math] (1997) WebDNA5 & XML (2003) why am I getting an authenticate dialog with no [protect]? (2000) sendmail what is SIMS? (1999) I guess I have a problem with commitment (2003) Upgrading old WebCat Database Files (1997) Multiple fields on 1 input (1997) Wrapping text (1998) quotation marks needed? (2000) back button loses cart (2000) Why doesn't it change? (1998) Bug or syntax error on my part? (1997)