Safe way to encode a cookie value in c#

Posted by Paul Lucas on Stack Overflow See other posts from Stack Overflow or by Paul Lucas
Published on 2010-04-23T17:29:23Z Indexed on 2010/04/23 17:33 UTC
Read the original article Hit count: 185

Filed under:
|
|

When storing a value in a cookie using C#, what is the best way to encode (or escape) the value so that it can be retrieved and decoded/unescaped reliably?

I'm not talking about encryption.

© Stack Overflow or respective owner

Related posts about c#

Related posts about ASP.NET