Forum Discussion
Jeff_Muzzy_4236
Nov 06, 2010Nimbostratus
Jsession Persistance isn't working....
We have had this iRule working for about 1 week. Today persistance totally stopped working. We'd tail the log on F5 and watch a connection with the correct jsession id move onto the other web server in the pool.
Any ideas?
jeff
when HTTP_RESPONSE {
if { [HTTP::cookie exists "JSESSIONID"] } {
set jsess [HTTP::cookie "JSESSIONID"]
persist add uie $jsess 3600
log local0. "[IP::client_addr]:[TCP::client_port]: Added Persistence: $jsess [persist lookup uie $jsess]"
}
}
when HTTP_REQUEST {
set jsess [findstr [HTTP::uri] "jsessionid" 11 ";"]
JsessionID in path
if { $jsess != "" } {
persist uie $jsess
log local0. "[IP::client_addr]:[TCP::client_port]: Used persistence record from path: $jsess [persist lookup uie $jsess]"
}
JsessionID in cookie
if { [HTTP::cookie exists "JSESSIONID"] } {
set jsess [HTTP::cookie "JSESSIONID"]
if { $jsess != "" } {
persist uie $jsess
}
log local0. "[IP::client_addr]:[TCP::client_port]: Used persistence record from cookie: $jsess [persist lookup uie $jsess]"
}
}
- L4L7_53191NimbostratusEnable a one connect profile with a 255.255.255.255 mask if you haven't done so already.
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