F5 is upgrading its customer support chat feature on My.F5.com. Chat support will be unavailable from 6am-10am PST on 1/20/26. Refer to K000159584 for details.

Forum Discussion

calliper_143911's avatar
calliper_143911
Icon for Nimbostratus rankNimbostratus
Oct 26, 2014

iRule: session lookup uie - first or last match used?

Hi,

 

We are trying to persist connections via the same node as an earlier session was established via. We are adding info to the session table using this:

 

session add uie {$session_key any virtual} [LINK::nexthop] 43200

 

And reading it using:

 

set forwardto [session lookup uie {$session_key any virtual}]

 

My question: if there are multiple matches in the UIE, will the last (most recent one) be used? If not, is there any way to force this? Because if a given client later establishes a session via a different node, we want the current one to be used.

 

Many thanks.

 

No RepliesBe the first to reply