cookies
Good day all,
I am having some trouble with this irule about cookies. Not very much into irule hence can't get the full scenario here on what does this achieve.
Appreciate some assistance on what this rule is doing & how to check if its doing it .
when HTTP_REQ {
set log_prefix "[IP::client_addr]:[TCP::client_port]"
if { [HTTP::cookie "JSESSIONID"] ne "" }{
persist uie [string tolower [HTTP::cookie "JSESSIONID"]] 5400
} else {
set jsess [findstr [string tolower [HTTP::path]] "jsessionid=" 11]
if { $jsess != "" } {
persist uie $jsess 5400
}
}
}
when HTTP_RESP {
if { [HTTP::cookie "JSESSIONID"] ne "" }{
persist add uie [string tolower [HTTP::cookie "JSESSIONID"]] 5400
}
}
Thank you in advance.