Forum Discussion
Chris_Miller
Altostratus
Apr 22, 2010iRule for Cookie Removal
I have 2 DCs fronted by a software GTM solution. When a user makes a request, GTM checks to see if they have a "DC" cookie. If they don't, it round robins the request. In the event that DC1 gets the r...
Rami_307440
Nimbostratus
Aug 31, 2017You can insert a new session and that will overwrite the current one.
when HTTP_REQUEST {
set logOut 0
if {(([HTTP::uri] ends_with "logout")}
{
set logOut 1
}
}
when HTTP_RESPONSE {
if { $logOut == 1 }
{
set session_key "whatever0928340923any"
HTTP::cookie insert name "DC" value $session_key
HTTP::cookie insert name "server" value $session_key
}
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