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:
MacAuthorize order data fields WAS:How To question... (1997)
purchase plugin (1996)
Createfolder OSX WC3.08 (2001)
800x600 (2003)
[redirect] question (2005)
LinkExchange (1997)
Busy WebCatalog (2000)
Re:Realtime Transaction Processing (1999)
Problem (1997)
Sorting Orders (1997)
Problem with CC problem ? (1997)
payflowpro problem #2 (2003)
blank page from template (1997)
HELP WITH DATES (1997)
WebCat2: Items xx to xx shown, etc. (1997)
Webcatalog [blank] Problem (1999)
webcat- multiple selection in input field (1997)
Large Database Issue (possible bug) (2004)
Bug Report, maybe (1997)
Order not created error (never mind) (1997)