HI All
How we can configure an irule to remove cookie from specific set of IP pool and allow for the rest.
HI All
How we can configure an irule to remove cookie from specific set of IP pool and allow for the rest.
Put the IP addresses for the pools in a datagroup and remove the cookie if it exists in HTTP_RESPONSE:
when HTTP_RESPONSE {
if {[class match [IP::server_addr] equals pool_datagroup]} {
if {[HTTP::cookie exists "myCookie"]} {
HTTP::cookie remove "myCookie"
}
}
}