I\'ve been updating a cookie in C# using code like this:
var cookie = HttpContext.Current.Request.Cookies[cookieName]; cookie.HttpOnly = true; cookie.Value = coo