Jeff_Muzzy_4236
Nimbostratus
Nov 06, 2010Jsession 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]"
}
}