Forum Discussion
Cookie persistence + iRule
Hi Vova,
Your message is quite confusing, it is difficult to understand what you are trying to achieve and what your requirements and problems are.
I can see at least one problem here - you are trying to persist using both Profiles and iRules (hence the problem of you getting two Set-Cookie headers in the response headers - one comes from Persistence profile and another one from your iRule).
If your requirement is just to persist across virtual servers you can use "Match Across Virtual Servers" checkbox in your persistence profile, BUT it has to be a Source-IP persistence, NOT Cookie persistence (no such option for Cookie Persistence)
If you need to use Cookie persistence, I recommend that you read these two DevCentral posts:
https://devcentral.f5.com/articles/persisting-across-virtual-servers
https://devcentral.f5.com/codeshare?sid=574
Hope this helps,
Sam
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