Forum Discussion
Only Apply Default Persistence Profile (HTTP Cookie Insert) to specific URI paths
Currently, we are using a Default Persistence Profile (HTTP Cookie Insert) on our Virtual Server. However, we only need persistence for a few paths on the site;
https://login.website.com/path1/*
https://login.website.com/path2/*
https://login.website.com/path3/*
Is it possible, using an iRule perhaps (?), to only apply a pre-defined persistency profile for specific paths, and not the entire Virtual Server?
Key point: I do NOT want to set/define the persistency options inline in the iRule. I would like to essentially reference a defined Persistency Profile ("Website-Cookie-Profile") from within the iRule.
Cookie Method: HTTP Cookie Insert
Cookie Name: ThisIsMyCookie
Always Send Cookie: (not selected)
Expiration: Session Cookie (selected)
Cookie Encryption Use Policy: preferred
Encryption Passphrase**: (masked)
Thanks in advance. Any example iRules would be greatly appreciated.
2 Replies
- JQB
Nimbostratus
We are running BIG-IP LTM v12.1.2
iRule persist does not allow to chose user defined profile. You can only select persist type and specify all related parameters.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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