How to decrypt FormsAuthenticationTicket?
<p>In order to debug a production issue, I need a tool to decrypt an authentication cookie. I wrote a quick script to decrypt it using FormAuthentication.The essence is</p>

<pre><code>FormsAuthenticationTicket authTicket = FormsAuthentication.Decrypt(source.Text);
</code></pre>

<p>The server has machineKey set and I am using the same key in this app. I am getting cookie text using Fiddler. However, I always get Unable to Validation Exception when using FormAuthentication.Decrypt. The cookie is set HttpOnly.</p>

<p>Am I missing something?</p>

<p>Note: There were a number similar questions but none of the answer has so far helped me so decided to post a new one.</p>
