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:
Re:WebCatalog vidoes (was: Prices Dropped) (1998)
[WebDNA] Authorize.net and [tcpconnect] (2016)
Talk List Suggestions (1997)
How many Databases can I open? (2003)
How can I Add several Items into the cart at once? (1997)
Mac: LModelDirector bug fix (1997)
Date subtraction (2002)
!!!!!!!!!!String Search!!!!!!!!!!!!!!!!!! (2001)
Hosting Service (1998)
NT 2.1b10 (1998)
WebCat2b13MacPlugIn - [shownext method=post] ??? (1997)
[Webcat 2]Next (1997)
[OT] Mystery Autoreply (2004)
WebCat2b13 Mac plugin - [sendmail] and checkboxes (1997)
Summing fields (1997)
required fields (1998)
[WebDNA] Debian Lenny, Lighttpd and WebDNA FastCGI ... (2010)
E-Mailer (WebCatb15acgiMac) (1997)
Where is f2? (1997)
bug in [SendMail] (1997)