Forum Discussion
hajo_36766
Nimbostratus
Jul 08, 2008removing part of a cookie
Can I remove part of a cookie in a http-response with iRule ?
examples of cookies are:
Set-Cookie: infoview_userCultureKey=useBrowserLocale; expires=Tue, 29-Aug-2...
hoolio
Cirrostratus
Jul 09, 2008In < 9.4.x, you cannot easily get a list of the header values for multiple instances of the same header. I think you'd have to iteratively save each Set-Cookie header value, modify it, and remove it. Once all the cookie headers have been removed, you could add back the modified versions.
Is there any chance of modifying the application to not set this cookie option?
I'll see about testing this to confirm you'd need to remove them and then come up with an example. Irrespective of this, you should consider upgrading at least to the latest maintenance release, 9.3.x now, or once 9.5 is released.
Aaron
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