I am setting a value in the cookie using JavaScript and getting the contents of the cookie in the code behind.
But the problem is if I am storing the string with some special characters or whitespace characters, when I am retrieving the contents of the cookie the special symbols are getting converted into ASCII equivalent.
For example, if I want to store Adam - (SET)
in cookie , its getting converted into Adam%20-%20%28SET%29
and getting stored and when I am retrieving it I get the same Adam%20-%20%28SET%29
. But I wan tot get this Adam - (SET)
in the code behind.
How I get this. Please help.