Forum Discussion
Cookie Persistence Profile Question
I was asked this question by a developer recently and wasn't sure how to respond. I may not be understanding the question but thought I would throw it out there:
- does the Cookie profile target all cookies or just one that you specify?
- If the cookie does not exist, does it just default to traditional Round Robin?
Any help would be greatly appreciated.
- R_Marc
Nimbostratus
A persistence profile is attached to the virtual. With cookie insert, the cookie name is some value (by default something like BIGIP-poolname, though you can statically define it to something else).
The cookie value identifies the backend server and port. If a connection comes in with a cookie, the value is looked at, and assuming that server is available, it sends it to the pool member identified.
If there is no cookie presented, it just uses whatever LB mechanism is specified (like round robin).
Note, the cookie values are just encoded IP and Port of the backend server. It would be a good idea to add encryption, if your version of code supports that.
- janholtz
Altostratus
You can: ADD (insert) / REWRITE / PASSIVELY MONITOR, cookies. You can also create a fallback persistence profile (nearly always source address persistence), on a vs
Recent Discussions
Related Content
* 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