Forum Discussion
JosephT
Nimbostratus
Jul 22, 2008Stripping cookies on the http response
I need to setup an irule to remove one or more cookies on the response back to the client.
To start, I'm trying to just delete all cookies by trying this this:
when HTTP_...
hoolio
Cirrostratus
Jul 23, 2008'HTTP::cookie remove' should work in either requests or responses. If you want to remove all cookies, you could use either approach:
when HTTP_RESPONSE {
foreach N [HTTP::cookie names] {
HTTP::cookie remove $N
}
}
when HTTP_RESPONSE {
HTTP::header remove "Set-Cookie"
}
Aaron
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
