JBoss EAP 6 Cookie max-age always -1
Environment
- Red Hat JBoss Enterprise Application Platform 6.x
Issue
When I configure the max-age for a session cookie, it is always reset to -1.
Resolution
Upgrade to This content is not included.JBoss EAP 6.4.12 or later.
Root Cause
When the JvmRouteValve resets the session cookie, it hard-codes max-age to -1. The bug report that was used for tracking was <This content is not included.https://bugzilla.redhat.com/show_bug.cgi?id=1379485>.
SBR
Tags
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.