Forum Discussion
Raymond_Cheung_
Nimbostratus
May 25, 2005Can I keep persistance using Single Signon Cookie?
Can I use "Universal Persistance" with iRule to keep persistance using "Single Signon Cookie"?
It will be going to one virtual server with one pool and 2 node.
The Cookie Name is "ObSSOC...
unRuleY_95363
May 25, 2005Historic F5 Account
Two answers:
First, a simple rule that does universal persistence on a cookie only ever present coming from the client would look like this:
rule signon_persist {
when HTTP_REQUEST {
persist uie [HTTP::cookie ObSSOCookie]
}
}
Second, Dr.Teeth referred to cookie hash persistence, which is more or less the equivalent to the above. It only performs persistence based on an already present cookie. In your case, you might configure it like:
profile persist signon_persist {
mode cookie
cookie mode hash
cookie name ObSSOCookie
cookie hash offset 0
cookie hash length 0
}
Either of these methods should work fine for persisting the same signon cookie to the same server.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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