docs: public static void setCookieValue(CmsJspActionElement jsp, String name, String value) {
  
          Cookie[] cookies = jsp.getRequest().getCookies();
          for (int i = 0; (cookies != null) && (i < cookies.length); i++) {
              if (name.equalsIgnoreCase(cookies[i].getName())) {
                  cookies[i].setValue(value);
                  return;
              }
          }
          Cookie cookie = new Cookie(name, value);
          jsp.getResponse().addCookie(cookie);
      }