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_...
The_Bhattman
Nimbostratus
Jul 22, 2008Not sure if that command will work with *.
However, another possibility is to use "HTTP::cookie names" and set that into an array. Then perform a foreach loop where you would delete the cookies within the cookie names list
For example:
set DL {[HTTP::cookie names]}
foreach N $DL {
HTTP::cookie remove $N
}
I haven't tested this , but I think this might be a start to another approach you might want to consider
Hope this helps
CB
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
