Forum Discussion
Change default cookie insert name
Looks like you can set the cookie name when creating a custom cookie profile.
The example below is running v15.1
- Stefan_KlotzAug 04, 2023Cumulonimbus
Ben_Novak yes I know this, but I'm looking for a generic cookie insert persistence profile, which I can use for several different VS, but where the cookie name will be generated dynamically based on the pool-name like for the default cookie profile. But I don't want to have the prefix "BIGipServer" included for security reasons.
Thank you!- Ben_NovakAug 04, 2023Employee
They you will probably need to configure that in a Local Traffic Policy or iRule.
However, having the cookie name change can be problematic for standardizing app/web server configs, or whatever is reading the cookie.
Since security is the driving factor here, I suggest having a standard/simple cookie name, but encoding all the details you want in the value of the cookie. Then you can encrypt/encode/secure all the details as needed.
- zamroni777Mar 16, 2024Nacreous
adding to Ben_Novak answer,
the traffic policy or irules will be:
on server response: insert your customized persistence header,
on client request: read the presistence header and select intended pool
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