Forum Discussion
jamesdris
Nimbostratus
Nov 02, 2015making changes to cookie
I have a VIP on which cookie persistence is enabled.
The cookie header contains a lot of other cookies that my browser passes. Is it possible to trim some of those cookies and pass only the desired o...
Henrik_Gyllkran
Nimbostratus
Nov 02, 2015Absolutely, and it's easy enough with iRules provided you know which cookies should be removed:
when HTTP_REQUEST {
HTTP::cookie remove
}
If you don't know exactly what cookies you want to remove but instead know what cookies you want to keep it's a bit more complicated, because then you need to loop through all the cookies and check if it's an allowed cookie or not. If this is the case I can make an example for you if you want.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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