title: How can I change a cookie value from a WebMethod?
body: <pre><code>  [WebMethod]
    public static void SetTheme(string theme)
    {
     Guid studentIdentifier = SessionData.LoggedInUser.Identifier;
     Student student = (Student)ItemFactory.GetItem(studentIdentifier);
     student.Theme = theme;
    }
  </code></pre>
  
  <p>And I want to change the cookie that is also named "theme", at the end of this WebMethod. How can I accomplish that? The cookie has to be set here, not through JavaScript. That is a requirement. Thank you</p>