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 17, 2009The catch command runs the command inside it. So you don't need to run it again. Can you try this?
when HTTP_RESPONSE {
if { [HTTP::cookie exists "LBSICAPRENDE"] } {
if {[catch {persist add uie [HTTP::cookie "LBSICAPRENDE"]} result]}{
log local0. "[IP::client_addr]:[TCP::client_port]:\
Error on response from [IP::server_addr] with cookie [HTTP::cookie LBSICAPRENDE]. \$result: $result."
}
}
}
Also, I'm not sure why you're only adding a persistence record once per TCP connection. If multiple clients connect from behind the same proxy, they could share the same TCP connection. You'd want to set the persistence for both clients.
Aaron
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
