Forum Discussion
Multiple BIG-IP cookies in HTTP request
When BIG-IP receives an HTTP request on a VS configured for cookie persistence, does it match the cookie based on the pool name encoded in the cookie when making the persistence decision?
IOW, should the HTTP request contain two BIG-IP cookies, does the BIG-IP only use the cookie that has the relevant pool name encoded in the cookie name?
Thanks! -Ed
4 Replies
- Brad_Parker
Cirrus
The BigIP will only make a decision based on the name of the cookie configured in the persistence profile. By default that is BIGipServer, so it will only persist to the pool for which the connection is destined for. I would recommend changing the name of the cookie to something more specific to your organization and not leave it as the default "BIGip..." cookie. Gives a little to much info to the world, ;-).
- Ed_Summers
Nimbostratus
Thanks, Brad. Follow-up for clarification: For the default 'cookie' persistence profile, I believe the cookie name is BIGipServer, which is confirmed by viewing cookies in a browser session. Assuming both virtual servers use the default session 'cookie' profile. When the BIG-IP receives an HTTP request with two BigIP cookies, does it read the cookie that has the pool name for the virtual on which the request was received? I believe the answer is 'yes', but wanted to confirm. I'll try to lab it out also. As for your last statement, all I can do for now is tell you "I agree". :)
- Brad_Parker_139
Nacreous
The BigIP will only make a decision based on the name of the cookie configured in the persistence profile. By default that is BIGipServer, so it will only persist to the pool for which the connection is destined for. I would recommend changing the name of the cookie to something more specific to your organization and not leave it as the default "BIGip..." cookie. Gives a little to much info to the world, ;-).
- Ed_Summers
Nimbostratus
Thanks, Brad. Follow-up for clarification: For the default 'cookie' persistence profile, I believe the cookie name is BIGipServer, which is confirmed by viewing cookies in a browser session. Assuming both virtual servers use the default session 'cookie' profile. When the BIG-IP receives an HTTP request with two BigIP cookies, does it read the cookie that has the pool name for the virtual on which the request was received? I believe the answer is 'yes', but wanted to confirm. I'll try to lab it out also. As for your last statement, all I can do for now is tell you "I agree". :)
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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