Forum Discussion
mars_crow_10795
Nimbostratus
May 08, 2014Insert cookie after remote
Now,I found that after using insert cookie will take cookies in F5 to the server.So,I need to remote the cookie when F5 switch to serves,but use persistent cookie.
Kevin_Stewart
Employee
May 13, 2014Try this:
when HTTP_REQUEST {
if { [HTTP::header Cookie] contains "BIGipServer" } {
HTTP::cookie remove [findstr [HTTP::header Cookie] "BIGipServer" 0 "="]
}
}
This assumes of course that you're using the default cookie persistence profile.
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