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:
[protect admin] (1997)
Variable Prices (1998)
[WebDNA] WebDNA Server 8.6.2 snapshot available (2019)
[WebDNA] How to get a screen size (2009)
WebCatalog NT beta 18 problem (1997)
unable to launch acgi in WebCat (1997)
Database Updates (1997)
WebCat2final1 crashes (1997)
beta 2 plugin (2000)
price carry over (1997)
WebCatalog2 Feature Feedback (1996)
emailer (1997)
Emailer (1997)
Nested tags count question (1997)
OT: NT mac sharing (1998)
Cookie woes with Mac IE4 (1998)
different show next (1997)
Server Slowdown (1999)
(1997)
Protect tag for large groups? (1999)