I am getting some warning messages when running my project on Liberty, specifically in Chrome.
[WARNING ] Detected JSESSIONID with invalid length; expected length of 23, found 28, setting: BD14EBEEDBE53803FAE565131A03 to null.
This is because Liberty is generating a JSESSIONID of length 28, but the Liberty profile defaults the httpSession property idLength to 23. If I set
<httpSession idLength="28" />
in the Liberty server.xml I do not get these warning messages in the log. However, I would like to solve this without altering the server.xml.
Is it possible to change how the JSESSIONID is generated to default to length of 23? Or perhaps this is a poor approach?