Re: Cookie still not working

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 22917
interpreted = N
texte = I HAVE BEEN RECEIVING E-MAIL FROM ALOT OF PEOPLE AND I DON'T KNOW WHY I HAVE 283 QUESTIONS LIKE COOKIES STILL NOT WORKING I'M JUST AS CONFUSED AS EVERYONE ELSE WHEN IT COMES TO THIS INTERNET THING HAHA BUT THERE IS SOMETHING, SOMEHOW SENDING ME THE E-MAIL QUESTIONS AND I HAVE NO ANSWERS I'M JUST A PERSON WITH E-MAIL THATS GUESSING THE SAME WAY AS EVERYONE ELSE WHAT'S GOING ON JUST THOUGHT I'D LET YOU KNOW SHERRY Date: Mon, 18 Jan 1999 17:58:20 From: Christer Olsson Subject: Re: Cookie still not working To: WebDNA-Talk@smithmicro.com Reply-To: WebDNA-Talk@smithmicro.com>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 ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com 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 HAVE BEEN RECEIVING E-MAIL FROM ALOT OF PEOPLE AND I DON'T KNOW WHY I HAVE 283 QUESTIONS LIKE COOKIES STILL NOT WORKING I'M JUST AS CONFUSED AS EVERYONE ELSE WHEN IT COMES TO THIS INTERNET THING HAHA BUT THERE IS SOMETHING, SOMEHOW SENDING ME THE E-MAIL QUESTIONS AND I HAVE NO ANSWERS I'M JUST A PERSON WITH E-MAIL THATS GUESSING THE SAME WAY AS EVERYONE ELSE WHAT'S GOING ON JUST THOUGHT I'D LET YOU KNOW SHERRY Date: Mon, 18 Jan 1999 17:58:20 From: Christer Olsson Subject: Re: Cookie still not working To: WebDNA-Talk@smithmicro.com Reply-To: WebDNA-Talk@smithmicro.com>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 ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com SHERRY BALL

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:

sort problems....bug or brain fart? (1997) [WriteFile] problems (1997) [OT] Who's got a cool link (2002) Exclude by date - multiple (1997) showif field is number (1997) Encrypted Templates Serving as Text (2000) Nested tags count question (1997) Physical Proximity searches (2000) 403 Forbidden Errors (2003) [OT] .php3 extension (2000) File Upload (1997) Cleaning up all the shopping carts (2000) unix permissions theory applied to db security? Or...? (2000) Updating a database once per day - An example (1998) Email (1998) CASTEGORIES IN DIFFERENT FRAMES (1997) [shell] (2003) Sort Order on a page search (1997) Solve the Problem, get the code! (2001) ssl and invoic.tpl and back bttn (2002)