3 Replies Latest reply on Dec 23, 2014 7:11 AM by Agustin Pazos

    Is it possible to configure Wildfly/Undertow to exchange jsessionid as HTTP Header?

    Agustin Pazos Newbie

      The jsessionid to manage the session can be configured with tracking-mode in mode cookie or URL mode.


      • Example jsessionid mode cookie:


      Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8

      Accept-Encoding: gzip, deflate, sdch

      Accept-Language: es-ES,es;q=0.8,en;q=0.6

      Cache-Control: max-age=0

      Connection: keep-alive

      Cookie: jsessionid=WuscHxD4eZCkPXDPubheV9MC.mbp-de-sadsad

      Host: localhost:8080

      User-Agent:

      Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36


      Example jsessionid mode url:


      http://www.example.com/home;jsessionid=BB69F0DEF79877629096AFEFFB53D478


      Is there any way to configure or extend the behavior of wildfly for sharing jsessionid via HTTP Header?


      Example of what I need:


      Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8

      Accept-Encoding: gzip, deflate, sdch

      Accept-Language: es-ES,es;q=0.8,en;q=0.6

      Cache-Control: max-age=0

      Connection: keep-alive

      jsessionid: WuscHxD4eZCkPXDPubheV9MC.mbp-de-kdslsd

      Host: localhost:8080

      User-Agent:

      Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36


      Is it possible to configure Wildfly/Undertow to exchange jsessionid as HTTP Header?


      Thanks