What are the allowed characters in both cookie name and value? Are they same as URL or some common subset?
Reason I\'m asking is that I\'ve recently hit some strange
I ended up using
cookie_value = encodeURIComponent(my_string);
and
my_string = decodeURIComponent(cookie_value);
That seems to work for all kinds of characters. I had weird issues otherwise, even with characters that weren't semicolons or commas.