Forum Discussion
riyer_206339
Nimbostratus
Hi All,
We have similar requirement i.e. to persist at BIG-IP level in this pattern "JSESSIONID.jvmRoute". I would like to know if this iRule below would help us in achieving that goal.
when HTTP_RESPONSE {
if { [HTTP::cookie exists "JSESSIONID"] } {
persist add uie [HTTP::cookie "JSESSIONID"][HTTP::cookie "jvmRoute"]
}
}
when HTTP_REQUEST {
if { [HTTP::cookie exists "JSESSIONID"] } {
persist uie [HTTP::cookie "JSESSIONID"][HTTP::cookie "jvmRoute"]
}
}
Regards, Ram
riyer_206339
Mar 10, 2017Nimbostratus
Thanks for quick response, Winston!
I'll implement the above iRule without [HTTP::cookie "jvmRoute"] and post the results. Out tomcat instance already has jvmRoute configured in server.xml file.
Regards, Ram