fizzled
Well-known member
Confused by MSDN Example for HttpCookie.HasKeys Property
On the MSDN entry for the System.Web.HttpCookie.HasKeys Property, the example says it will populate two string arrays: one with the value names (the keys) in the cookie, and one with the corresponding values. However, on looking at the code, it seems to me all it is doing is populating both string arrays with the value names. Am I missing something?
On the MSDN entry for the System.Web.HttpCookie.HasKeys Property, the example says it will populate two string arrays: one with the value names (the keys) in the cookie, and one with the corresponding values. However, on looking at the code, it seems to me all it is doing is populating both string arrays with the value names. Am I missing something?
Last edited by a moderator: