Specifies whether the cookie contains keys. Remarks You can access the subkeys of a cookie dictionary by including a value for key . If a cookie dictionary is accessed without specifying key , all of the keys are returned as a single query string. For example, if MyCookie has two keys, First and Second, and you do not specify either of these keys in a call to Request. Cookies , the following string is returned.
Cookies returns the one with the deeper path structure.
Cookies would only return the second cookie. You can iterate through all the cookies in the Cookie collection, or all the keys in a cookie. However, iterating through keys on a cookie that does not have keys will not produce any output. You can avoid this situation by first checking to see whether a cookie has keys by using the .HasKeys syntax. For Each strSubKey In Request.