Ah, that's helpful. So you're on a platform and version which supports CMP. CMP and persistence don't work so well in current versions. And there is a bug whereby CMP isn't automatically disabled on virtual servers which use persistence (with an exception of cookie insert). See these solutions for details:
SOL7751: Overview of Clustered Multi-Processing (https://support.f5.com/kb/en-us/solutions/public/7000/700/sol7751.html -
Click here).
If a virtual server references any of the following BIG-IP system features, CMP is disabled for that virtual server and handled by TMM0 only:
...
- A persistence profile or iRule using a method other than cookie persistence
SOL9268: The BIG-IP system does not update a virtual server's CMP status
https://support.f5.com/kb/en-us/solutions/public/9000/200/sol9268.html
The best solution might be to disable CMP for the virtual server you want to use UIE persistence with.
Aaron