Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-6588

Under Tomcat (ver. >= 8.5) BaseWebSocketBehavior can't find session id cookie

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 8.1.0, 9.0.0-M1
    • Fix Version/s: 8.2.0, 9.0.0-M1
    • Component/s: None
    • Labels:
      None

      Description

      The code used BaseWebSocketBehavior to find the name of the jsession cookie fails under Tomcat as it returns null if such a value has not been explicitly set  (see Tomcat class org.apache.catalina.core.ApplicationSessionCookieConfig.java). If a null value is returned we should use the default 'JSESSIONID' as indicated in the specifications (https://docs.oracle.com/javaee/7/api/javax/servlet/SessionCookieConfig.html#getName--)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                bitstorm Andrea Del Bene
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: