title: Safe way to encode a cookie value in c#
body: <p>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? </p>
  
  <p>I'm not talking about encryption.</p>