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:

database files in secure folder (1997) Locking up with WebCatalog... (1997) Searching multiple Databases (1997) easiest way to check for a non-alphanumeric character? (2000) [url] (1997) Setting up WebCatalog with Retail Pro data (1996) Sample Tearoom Search Error (1997) Number of cars in cart... (2004) Setting up WebCatalog with Retail Pro data (1996) carrying values forward (1998) 'Carting' into Frames (2000) Context and commands (1998) more info on [setlineitems] (1997) Search/sort in URL Was: GuestBook example (1997) WebMerchant issues. [Resent] (2000) Trigger Woes (1999) mutiple word search in one field (1999) brain teaser with an advanced search (2001) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) [trim]?! (2004)