Forum Discussion
VFB
Cirrus
Jan 22, 2018Header persistence from client
I'm working on an iRule to look at the POST header from a client to look at "jsessionid" and add a 10 minute persistence timer. I created the universal profile and the iRule, but the F5 is only sendi...
Jeff_Maddox_394
Jan 23, 2018Historic F5 Account
You apply the timer when you add the persistence record into the table. Below adds a persistence record with 600 second timeout. You add the record on the initial response when the cookie is set. then you persist on it in subsequent requests.
when HTTP_RESPONSE { look for jsession id cookie if { [HTTP::cookie "JSESSIONID"] ne "" } { persist add uie [string tolower [HTTP::cookie "JSESSIONID"]] 600 if exists and has a value, add a persistence record } }
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects
