Forum Discussion
nitin_paytm_341
Nimbostratus
Nov 24, 2017Removing cookie from specific set of IP pool and allow for other.
HI All
How we can configure an irule to remove cookie from specific set of IP pool and allow for the rest.
- Lee_Sutcliffe
Nacreous
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" } } }
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