For Each objItem In Request.Cookies If Request.Cookies(objItem).HasKey Then ‘Use another For Each to iterate all subkeys For Each objItemKey in Request.Cookies(objItem) Response.Write objItem & “(“ & objItemKey & “) = “_ & Request.Cookies(objItem)(objItemKey) & “<BR>” Next Else ‘Print out the cookie string as normal Response.Write objItem & “ = ”& Request.Cookies(objItem) & “<BR>” End If Next |