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:

Forms (1997) WebCat2b15MacPlugin - showing [math] (1997) Secure Server (1997) OT: Verisign buys Thawte (1999) Size images (2002) WebDNA Server Not Running (2005) Kaaaaahhhhhhhnnnnnnn! (1997) WebDNA Solutions ... sorry! (1997) Shopping problems with 2.1b3 acgi (1997) [OT] Checkboxes! Javascript? (2005) [shownext max=?] armed (1997) Emailer+NetTen [same machine]=? (2000) Re[2]: Next X hits (1996) Mac v. NT (1998) 2.0 Info (1997) Unix Webcat Permission - Suggestions (2000) Sitebuilder (2004) .html processing? (1998) Adding Message to Order (1997) SiteEdit NewFile.html ? (1997)