JBoss EAP 7 responds with an incorrect JSESSIONID Cookie when "HttpServletRequest#getRequestedSessionId()" is called in the application
Issue
When a client sends a request with a non-existent session id to a web application calling the Servlet API HttpServletRequest#getRequestedSessionId() (or HttpServletRequest#isRequestedSessionIdValid()), JBoss EAP 7 responds with an incorrect JSESSIONID response cookie as it reuses the requested non-existent session id instead of issuing a new JSESSIONID.
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 7.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
