Forum Discussion
Dan_24402
Nimbostratus
Sep 09, 2009Cookie Persistence issue with Dual Persistence
We are having an issue with Dual Cookie Persistence.
We do dual persistence meaning
we have a static and dynamic pool and use two different cookies
The cookie persistent profile looks like this:
profile persist cookie {
mode cookie
mirror disable
timeout immediate
cookie mode insert
cookie name ServerIP
cookie expiration 0d 00:00:00
cookie hash offset 0
cookie hash length 0
across services enable
across virtuals enable
across pools enable
rule none
}
We do the following in an Irule to switch the persistence :
persist cookie insert ServerIP2
HTTP::cookie remove ServerIP
Though we are occasionally seeing session cookies come across as BIGipServer
though no where in the irules or config do we use BIGipServer as a cookie or add the pool name to the cookie name.
I'm wondering if the LTM has that hardcoded internally for some case that we are hitting.
- hoolio
Cirrostratus
Hi, - Dan_24402
Nimbostratus
Hey Aaron, - hoolio
Cirrostratus
You must have a persistence profile enabled on the VIP in order to use cookie insert persistence in an iRule. So for /dynamic/* and /content/* requests, the clients should get a cookie based on the cookie insert persistence profile (because persistence is not specified in the iRule for those cases). If you've configured a custom name on that cookie profile, no default named persistence cookie should be used. - Dan_24402
Nimbostratus
Hey Aaron, - hoolio
Cirrostratus
Yeah, based on your config, I don't see how that could be happening. If you figure anything out, can you reply here?
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