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:
100% cpu load (2006)
Bug Report, maybe (1997)
unsubscribe (2000)
Searching multiple records for certain info (2000)
More news on 5.0 (2003)
Running 2 two WebCatalog.acgi's (1996)
Can someone remove this guy with the 186k emails!? (Thanks for the email!) (1998)
.db-tmp (2000)
Limitations on fields? Server is crashing (1997)
Speaking of () Emailer not working (1998)
Suggestions (1998)
PCS Frames (1997)
multi-paragraph fields (1997)
Multiple matches in a search (2004)
[ShowNext] feature in 2.0 (1997)
show me your store ! (2003)
Date Formats (1997)
Re[2]: Using [Include] Context (1999)
[WebDNA] SendMail (2008)
Mac to UNIX (2000)