cookies crumbling

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 23519
interpreted = N
texte = Hello-I am trying to tackle cookies for the first time, and am getting some unexpected behavior. I have a bunch of validation that takes place, and if the user enters the right username and password, the following cookie gets set for them:[setcookie name=admin&value=yes&expires=&path=/&domain=www.greenmarketplace.com](this is straight from the documentation)On subsequent pages, I have the following context:[ListCookies] [index],[name],[value]
[/ListCookies](which is also straight from the documentation)If you go to those subsequent pages without the cookie being set, nothing shows up, but if you get the cookie set, and then go to the pages, it looks like this:1,admin,yesHTTP_ACCEPT_ENCODING:gzipHTTP_ACCEPT_CHARSET:iso-8859-1,*,utf-8HTTP_A UTHORIZATION:Basic c3RhZmY6amFtMw== Now... I was only expecting to find one cookie set, which would look like:1,admin,yes But instead, all the rest of that junk shows up.... why? Josh Knauer http://www.knauer.com 412-420-6400 -phone 412-420-6404 -faxP60E7 A28B 91C0 E5D3 EC5C A53F DB28 B350 Associated Messages, from the most recent to the oldest:

    
  1. Re: cookies crumbling (Josh Knauer 1999)
  2. Re: cookies crumbling (PCS Technical Support 1999)
  3. cookies crumbling (Josh Knauer 1999)
Hello-I am trying to tackle cookies for the first time, and am getting some unexpected behavior. I have a bunch of validation that takes place, and if the user enters the right username and password, the following cookie gets set for them:[setcookie name=admin&value=yes&expires=&path=/&domain=www.greenmarketplace.com](this is straight from the documentation)On subsequent pages, I have the following context:[ListCookies] [index],[name],[value]
[/ListCookies](which is also straight from the documentation)If you go to those subsequent pages without the cookie being set, nothing shows up, but if you get the cookie set, and then go to the pages, it looks like this:1,admin,yesHTTP_ACCEPT_ENCODING:gzipHTTP_ACCEPT_CHARSET:iso-8859-1,*,utf-8HTTP_A UTHORIZATION:Basic c3RhZmY6amFtMw== Now... I was only expecting to find one cookie set, which would look like:1,admin,yes But instead, all the rest of that junk shows up.... why? Josh Knauer http://www.knauer.com 412-420-6400 -phone 412-420-6404 -faxP60E7 A28B 91C0 E5D3 EC5C A53F DB28 B350 Josh Knauer

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:

UK credit card info follow-up (1997) Multiple cart additions (1997) [isfile] ? (1997) Problem during evaluation of WebCatalog (1998) unsubscribe (1997) [WebDNA] Credit card processing (2012) WebCat2b15MacPlugin - showing [math] (1997) For those of you not on the WebCatalog Beta... (1997) Is there an alternative to emailer? (1999) Clickable maps and WebCatalog? (1996) PC Authorize & Webmerchant (1998) Version 4? (2000) RE:It just Does't add up!!! (1997) Copyright that puppy (1998) LetterRip and WebCat (1998) All choices on IE different than Netscape (1997) WebCat2b13MacPlugIn - syntax to convert date (1997) Writing [raw] to a file (2000) Removing [showif] makes a big difference in speed (1997) [WebDNA] trouble with [url] encoding??? (2014)