Generated the cookie successfully using nodejs but decrypting in c# returns null: FormsAuthenticationTicket ticket = FormsAuthentication.Decrypt(HttpContext.Current.Request.Cookies[".ASPXAUTH"].Value);