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
- is duplicated by
-
WICKET-6593 "A Cookie name can not be null or empty" when accessing page with WebSocketBehavior
- Resolved
- is related to
-
OPENMEETINGS-1931 Hack with session cookie config need to be removed
- Closed