Cookie Dictionary Question
Lads, I have a question which I imagine most of you will solve virtually immediately.
I working on an app where a requirement is to store data in a client side cookie. Unfortunately the data stored exists in value pairs - hence my preference is to store the data in a Cookie Dictionary.
Creating and storing data in the cookie dictionary presently is not a problem. My issue is I am unable to find code as to how to directly access the content of a paticular value pair within the cookie.
References I have found thus far all seem to the HasKeys method and a looping construct. In the same way I can access the content if a single value cookie by directly referencing the cookie name e.g. Request.Cookies("CookieName").value I am interested in finding a DIRECT way which will allow me to access the a specific/direct value pair within the created cookie dictionary.
Any help guys would be greatly appreciated.
Regards,
J
|