Forum Discussion
Alex_Pozzan_325
Nimbostratus
Feb 27, 200901220001:3: TCL error: wrong # args: should bewhile executing
Hi,
I have the following iRule attached:
It's the same iRule used to jsessionid. We only change the id to LBSICAPRENDE. The application is running but sometimes LTM repor...
hoolio
Cirrostratus
Mar 18, 2009If 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
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
