Forum Discussion
Java application persistence issue with load balancer
Hi,
Can you please provide cookie persistence configuration details.
Java Session ID irule is mentioned below: when HTTP_REQUEST { if { [HTTP::cookie exists "JSESSIONID"] } { persist uie [HTTP::cookie "JSESSIONID"] 1800 } else { set jsess [findstr [HTTP::uri] "JSESSIONID" 11 ";"] if { $jsess != "" } { persist uie $jsess 1800 } } } when HTTP_RESPONSE { if { [HTTP::cookie exists "JSESSIONID"] } { persist add uie [HTTP::cookie "JSESSIONID"] 1800 } }
- Sabir_AlviAug 06, 2018Altocumulus
For cookie persistence, I only used the default cookie persistence profile on the VIP. For the Java Session ID, I believe we need to use universal persistence with the iRule attached to the universal persistence profile itself. I'm using an IIS based java application. is the above iRule for generic use?
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com