Forum Discussion
BinaryCanary_19
Jan 07, 2016Historic F5 Account
Yes. The idea of Universal Persistence is so that you can write your own logic, if the system-supplied persistence criteria don't meet your needs.
The example on the solution article for universal persistence is extracting the key from a cookie value. In your case, you will be using source port instead of JSESSIONID cookie.
The idea is generally (pseudocode):
when CLIENT_ACCEPTED:
persist uie [TCP::client_port]
when SERVER_CONNECTED:
persist add uie [TCP::client_port]
Logic is a little simpler since the port is always present. YOu of course need to test this.