Forum Discussion
F5-Oetti
Nimbostratus
Feb 09, 2018Perstistance on Cookie and a secondary Cookie
Hello iRule Experts,
I am just in the migration of some old Cisco ACE4710.. and ran just into a little trouble..
At the ACE there is defined following:
sticky http-cookie XXSSESSIONID MySer...
Daniel_Varela
Employee
Feb 09, 2018This is an example of irule for universal profile persistance:
ltm rule persistence_rule {
when HTTP_REQUEST {
if { [HTTP::header exists "SessionID"] } {
persist uie [HTTP::header value "SessionID"]
}
}
when HTTP_RESPONSE {
if { [HTTP::header exists "SessionID"] } {
persist add uie [HTTP::header value "SessionID"]
}
}
}
My recommendation is give a try to the standard cookie persistence in F5, are far more efficient and probable you can achieve the same functionality.
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