Forum Discussion
hooleylist
Mar 18, 2009Cirrostratus
If two clients connect to the virtual server through the same proxy server (like two clients on the same corporate network or the same ISP), they could make HTTP requests over the same TCP connection. So it's not a good idea to assume that there is a one to one relationship between TCP connections and HTTP sessions.
Can you try this version of your rule?
when HTTP_REQUEST {
if { [string length [HTTP::cookie "LBSICAPRENDE"]] > 0 } {
persist uie [HTTP::cookie "LBSICAPRENDE"]
} else {
set lbsicap [findstr [HTTP::uri] "LBSICAPRENDE" 11 ";"]
if { $lbsicap != "" } {
persist uie $lbsicap
}
}
}
when HTTP_RESPONSE {
if { [string length [HTTP::cookie "LBSICAPRENDE"]] > 0} {
persist add uie [HTTP::cookie "LBSICAPRENDE"]
}
}
Or you could just modify the jsessionid persistence rule from the Codeshare:
http://devcentral.f5.com/wiki/default.aspx/iRules/Weblogic_JSessionID_Persistence.html (Click here)
Aaron
http://devcentral.f5.com/wiki/default.aspx/iRules/Weblogic_JSessionID_Persistence.html