Thanks for you help, my problem stems from the following iRule that I am using for persistence. On some of my requests the persistence is not holding and its going to another server in the pool. I am at a loss.
I am correct to assume that the response is not what is not controlling what server the request gets sent to?
Any help would be appreciated.
- Eri
when HTTP_RESPONSE {
if { [HTTP::cookie exists "JID"] } {
set resPers [HTTP::cookie "JID"]
log "lookup for $resPers in table = >[persist lookup uie $resPers]<"
if { [persist lookup uie $resPers] equals "" } {
persist add uie $resPers 3700
log "NEW PERSIST - added response entry *$resPers* for server [LB::server addr]"
} else {
log "FOUND PERSIST - continued sessionId *$resPers* for server [LB::server addr]"
}
}
}
when HTTP_REQUEST {
set jsess [findstr [HTTP::uri] "jsessionid" 11 "?"]
if { $jsess != "" } {
persist uie $jsess 3700
log "USING PERSIST - used URI value is *$jsess*, server [LB::server addr]"
}
}