[thelist] ASP/VBScript

Warden, Matt mwarden at odyssey-design.com
Tue Sep 19 16:53:02 CDT 2000


Have you looked at a keyed cookie set by ASP? The cookie name would be
"CookieName" and you'd access it like:

mycookie = request.cookies("CookieName")

but if CookieName has keys, mycookie would hold something like
"hey=dude&evolt=sexy", each of which you could access like:

mycookie = request.cookies("CookieName")("hey")

and

mycookie = request.cookies("CookieName")("evolt")


So, you're saying that if a COOKIE has a value, than it MUST have a key?
It's just a key without an =value?

--
mattwarden
mattwarden.com


----- Original Message -----
From: Scott Dexter <sgd at ti3.com>
To: <thelist at lists.evolt.org>
Sent: Tuesday, September 19, 2000 5:20 PM
Subject: RE: [thelist] ASP/VBScript


> Cookies are a key/value list, so you may have a cookie with a key of "yo"
> with no value (HasKeys will still return True), if you have a *value* of
> "yo" you have to have a key to get to it (which you name). Make sense??






More information about the thelist mailing list