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

Allow changing of session cookie domain

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • 1.0.0.Alpha20
    • 1.0.0.Alpha12
    • Core
    • None

      The session cookie's domain defaults to that of the requested host. It is often useful to set that to a parent domain (e.g. example.com rather than www.example.com).

      Undertow could provide a per-application and global configuration option to change the cookie domain. In Tomcat, this requires the use of a custom valve such as https://github.com/nekop/java-examples/blob/master/customvalve/src/main/java/com/redhat/jboss/support/ConfigureSessionCookieValve.java

            sdouglas1@redhat.com Stuart Douglas
            rhn-support-jlivings James Livingston (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: