Forum Discussion
Jeff_McConnell_
Nimbostratus
May 24, 2006jessionid uie persistence
I am testing the following iRule to persist on jsession for three clustered apps, which so far is working. While testing, I see that when I disable a node, the sessions continue to persist to the dis...
Jeff_McConnell_
Nimbostratus
May 24, 2006So "Only active connections allowed" is "Forced down" under 4.x. I was wondering where that option went. Thanks for the info.
I saw this iRule in another post:
when CLIENT_ACCEPTED {
set add_persist 1
}
when HTTP_RESPONSE {
if { [HTTP::cookie exists "JSESSIONID"] and $add_persist }
{ persist add uie [HTTP::cookie "JSESSIONID"]
set add_persist 0
}
}
when HTTP_REQUEST {
if { [HTTP::cookie exists "JSESSIONID"] } {
persist uie [HTTP::cookie "JSESSIONID"]
} else {
set jsess [findstr [HTTP::uri] "jsessionid" 11 ";"]
if { $jsess != "" } {
persist uie $jsess
}
}
}
Can anyone help out with an explanation of the HTTP_RESPONSE persist? For my scenario of persisting only to three apps based on the jsessionid, it doesn't seem necessary, but I want to make sure that I am not missing something.
Thanks
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