Forum Discussion
Universal Persistance - iRule vs Profile
Hi,
I have learned that we can implement UIE persistency in 2 ways.
1) added as a iRule in the Virtual Server's resource.
2) add the iRule into a Universal Persistence profile, then add to the Virtual Server's resources under the "Default Persistence Profile".
My question is, is there any difference in the implementation?
- ArieAltostratus
The functionality would appear to be the same. However, option 2 provides easy access to features like mirroring persistence, matching across services, matching across VIPs, matching across pools, and time-out limits. You could accomplish all this via iRules, but that would be rather cumbersome.
By the way, don't forget to use OneConnect when you're using either Cookie or Universal persistence.
- TortiAltostratus
Arie, is it possible to use a persistence profile in an irule?
- ArieAltostratus
Yes - you can use the "persist" command to change persistence in an iRule.
https://devcentral.f5.com/wiki/iRules.persist.ashx
- TortiAltostratus
I know the persist command for setting the persistence, but I didn't find a way to connect a LTM persistence profile with the persist profile.
- Torti_93733Nimbostratus
Is there a way to set the httponly flag for cookies created with the persist command?
- Torti_93733NimbostratusI have the same question for the cookies, created with a ltm persistence profile
- TortiAltostratus
Is there a way to set the httponly flag for cookies created with the persist command?
- TortiAltostratusI have the same question for the cookies, created with a ltm persistence profile
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