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 someunexpected behavior. I have a bunch of validation that takes place, and ifthe user enters the right username and password, the following cookie getsset for them:[setcookiename=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, nothingshows up, but if you get the cookie set, and then go to the pages, it lookslike this:1,admin,yesHTTP_ACCEPT_ENCODING:gzipHTTP_ACCEPT_CHARSET:iso-8859-1,*,utf-8HTTP_AUTHORIZATION:Basicc3RhZmY6amFtMw==Now... I was only expecting to find one cookie set, which would look like:1,admin,yesBut instead, all the rest of that junk shows up.... why?Josh Knauerhttp://www.knauer.com412-420-6400 -phone412-420-6404 -faxP60E7 A28B 91C0 E5D3 EC5C A53F DB28 B350
Associated Messages, from the most recent to the oldest:
Hello-I am trying to tackle cookies for the first time, and am getting someunexpected behavior. I have a bunch of validation that takes place, and ifthe user enters the right username and password, the following cookie getsset for them:[setcookiename=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, nothingshows up, but if you get the cookie set, and then go to the pages, it lookslike this:1,admin,yesHTTP_ACCEPT_ENCODING:gzipHTTP_ACCEPT_CHARSET:iso-8859-1,*,utf-8HTTP_AUTHORIZATION:Basicc3RhZmY6amFtMw==Now... I was only expecting to find one cookie set, which would look like:1,admin,yesBut instead, all the rest of that junk shows up.... why?Josh Knauerhttp://www.knauer.com412-420-6400 -phone412-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:
[item] appears after 'remove last item' ... (1997)
The List is Changing (1997)
price totals (2003)
I'm new be kind (1997)
WebCat2 several catalogs? (1997)
Authenticate (1997)
Automatic [URL]ing by the webdna engine (2003)
Search Engines (2000)
Emailer and encryption (1997)
[WebDNA] sales tax on shipping (2008)
[OT] Resource of Internet Stats (2004)
[taxrate] question (1997)
[WebDNA] Safari & Cookies (2009)
[WebDNA] I'm stuck... :-( (2009)
SSI *nix 4.5 build (2002)
[countWords]? (1997)
WebMerchant and Mac Auth Hub Help Please (1999)
Database Options (1997)
Help! WebCat2 bug (1997)
Logging purchases (1997)