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:

Questions To Answer (1997) Adding freight and percentages (2000) Images generated by a web dna database (2003) [Sum] function? (1997) OT: zipcodes (2002) WebCatalog2 Feature Feedback (1996) pc (1997) Update DB (2001) Mozilla/4. and Browser Info.txt (1997) Can't load tmpl files (1997) sort problems....bug or brain fart? (1997) [Price] (1997) How To question on setting up downloads (1997) XMLNodes Error (2008) show all problem (1997) WCS Newbie question (1997) Whats up with emailer? (1998) Limiting user access to .tmpl files (1997) Dedicated hosting recommendations (2000) Multiple prices (1997)