Forum Discussion
chic_cat_324145
Altocumulus
Aug 23, 2017Cookie stickiness doesn't work
Howdy,
We're trying to set up stickiness with cookies.
What we've done:
1.Added new cookie under persistence, current settings:
Set cookie stickiness in virtual server
When I ...
Stanislas_Piro2
Cumulonimbus
Aug 23, 2017Hi,
cookie rewrite persistence will rewrite server response cookie named "username" with it's value containing pool member information...
you can use this irule to configure Universal persistence with cookie value:
when HTTP_RESPONSE {
if { [HTTP::cookie exists "Username"] } {
persist add uie [HTTP::cookie "Username"] 3600
}
}
when HTTP_REQUEST {
if { [HTTP::cookie exists "Username"] } {
persist uie [HTTP::cookie "Username"] 3600
}
}
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