Forum Discussion
Kei_SUGIMOTO_49
Nimbostratus
Aug 15, 2008How can I use pre-defined "Persistence Profiles" in iRule?
Can someone please help with how to use pre-defined "Persistence Profiles" in iRule?
My persistence profile "my-cookie-insert" has already created.
The iRule ,i want to u...
hoolio
Cirrostratus
Aug 26, 2008You can't specify a custom persistence profile. Though you can specify all the attributes of a custom persistence profile in an iRule using the persist command (Click here😞
when HTTP_REQUEST {
if { [HTTP::uri] starts_with "/a/" } {
pool pool01
Specify cookie insert persistence using name COOKIE_NAME with a timeout of 600 seconds
persist cookie insert COOKIE_NAME 600
} else {
pool pool02
}
}
Aaron
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