Issue
-
With the below piece of code in the Tomcat web.xml file(Tomcat/webapps/ROOT/WEB-INF/web.xml).
<session-config>
<cookie-config>
<name>LR_JSESSIONID</name>
</cookie-config>
</session-config>We can create the cookie with the LR_JSESSIONID name instead of JSESSIONID.
However after the changes, the logout feature stopped working. However, there are references to JSESSIONID hardcoded in the Liferay codebase.
Environment
- Liferay DXP 7.4
Resolution
- The observed behavior is a new feature that has been addressed via LPSA-86513
Additional Information
- Please note that the exact implementation will depend on the developers' decision, and the new feature can only be added to future Liferay releases. Users can find more information on how to open a Feature Request ticket by going to the following link: Requesting a New Feature or Feature Improvement