Forum Discussion
Persitence via Xfor
- May 11, 2022
Hello,
You seem to be using the article https://support.f5.com/csp/article/K7392 but you have not added the "exists" keyword. Also take a look at https://community.f5.com/t5/technical-forum/enable-source-ip-persistence-based-on-x-forwarded-ip-info/td-p/98748 as many people had the same idea.
I will also suggest if you still see issues to try adding One Connect profile under the VIP as described in https://support.f5.com/csp/article/K7964 and also test CARP persistance if needed https://support.f5.com/csp/article/K11362 .
Thank you Nikoolayy for your prompt reply.
I've modified the iRule and now seems to work better. But now I often receive the Page expired message. Could be that I've to enable the OneConnect Profile?
Thank you again.
The last paragraph in my article on oneconnect in relation to HTTP:
"Without OneConnect on a virtual server with HTTP, you will find that persistence data does not appear to be honored. This is because by default, the BIG-IP system performs load balancing for each tcp connection, not each HTTP request, so further requests on the same client-side connection will follow suit from the original decision. By applying OneConnect to the virtual, you effectively detach the server-side from the client-side connection after each request, forcing a new load balancing decision and using persistence information if it available."
I also have a lightboard lesson on oneconnect, hope this helps...
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