Uploaded image for project: 'Undertow'
  1. Undertow
  2. UNDERTOW-120

HttpOnly cookie is visible on the client side

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.0.0.Beta21
    • None
    • Core
    • None

      An HttpOnly cookie is set as:

      cookie = new Cookie("myHttpOnlyCookieKey", "myHttpOnlyCookieValue");
      cookie.setHttpOnly(true);
      cookie.setMaxAge(60);
      response.addCookie(cookie);

      and

      document.write(document.cookie);

      displays the cookie and its value.

              sdouglas1@redhat.com Stuart Douglas (Inactive)
              arungupta_jira Arun Gupta (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: