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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 8.1.0, 9.0.0-M1
    • 8.2.0, 9.0.0-M1
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: