In my ASP.NET page, I want to return some data from the client-side form, which is preferable to be stored as a dictionary object. Now, I'm not very sure what type of object to use in my JavaScript function, which once accessed from the code-behind on the server (through Request.Cookies/any other suggested alternate way), can then be used as a .NET dictionary object?
Currently I'm saving the data as a specifically formatted string and then, on the server, I'm splitting it into arrays to use it. So, I'm just eager to know a better and of course, neater way to do this?