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

All cookies do not get passed across

XMLWordPrintable

      I have explained my Issue : https://access.redhat.com/discussions/4919441

      Issue:

      i am integrating my application(Spring MVC WAR) with a product which displays these integrated application in internal browser.

      As long as my application is deployed in EAP 6.X all works fine but if it is deployed in EXP 7.X it doesn't.

      I think i am missing something related to new "undertow" implementation.

      Scenario:

      Product when integrated always add a cookie to browser. this cookie is nothing but session-id and my application use this session-id. Now if this session is expired product has no way to know so it still add that cookie in browser but my application will know session has expired so it will create a new session.

      From than , browser will send my application 2 session-id in cookies (both with same cookie name JSESSIONID).

      In EAP 6.X my application receive both session-id from cookie but in EAP 7.X i only receive one session-id in cookie (one that gets added by product).

      No sure what config i need to in undertow to make it work as EAP 6.X in terms of allowing all cookie to reach my application.

      Example:
      Fiddler says browser send request with
      Cookie: JSESSIONID="Jc7p6mtcedLZSoeUyPheTORGy1YEHQOABHvddiF6.<node>:<instance-id>"; JSESSIONID="P_YpWMhHKft0wiLb21Ka6G24ghmPK5JEqa_aNwtv.<node>:<instance-id>"; ai_user=NUWYk|2020-01-07T16:27:14.500Z

      My application receives
      /aspect Cookie Name: JSESSIONID
      /aspect Cookie Value: Jc7p6mtcedLZSoeUyPheTORGy1YEHQOABHvddiF6.<node>:<instance-id>
      /aspect Cookie Name: ai_user
      /aspect Cookie Value: NUWYk|2020-01-07T16:27:14.500Z

              flaviarnn Flavia Rainone
              razdan22 Rahul Razdan (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: