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

How to make undertow create session with specified session id from cookie?

    XMLWordPrintable

Details

    • Question
    • Resolution: Done
    • Major
    • None
    • 2.0.1.Final
    • Core, Servlet
    • None
    • Undefined
    • 68327784

    Description

      I have undertow + spring 5 + spring security project. Spring configured to be STATELESS, so no http session created from spring side.

      However, when request (with JSESSIONID cookie) made to the undertow server it invalidates specified id, and generate new one, and create a session. So instead of using existing jsessionid it creates a new one. So I never have a corresponding http session in the undertow server.

      Do you know how to make it use provided jsessionid (from the cookie) and create a session based on it, instead of generating a new session id?

      Thanks.
       

      Attachments

        Activity

          People

            rhn-cservice-bbaranow Bartosz Baranowski
            hexwit Aleksandr Savvopulo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: