Forum Discussion

Axehandle_15963's avatar
Axehandle_15963
Icon for Nimbostratus rankNimbostratus
Jun 03, 2014

Is there a way to use a query string parameter to override sticky sessions?

We have an application behind an F5 that is using IP based sticky sessions and would like to know if it is possible to configure an override to direct specific users to force the affinity.

 

The issue is that when they get disconnected from VPN and sometimes reboot they are directed to another server upon return. Since they already had activity loaded on the previous server, this causes issues.

 

Is there any way to configure it so the application servers can force a redirect with a parameter instruction telling the F5 which pool server to use for them and override the current affinity? We could redirect them to the specific server directly but that is not ideal.

 

3 Replies

  • Is this HTTP traffic? If so it may be better to use Cookie persistence and use source address as a backup only.

     

  • You can't configure a rolling life but you can set a lifetime (say 8hrs) and this should survive a reboot as long as the browser isn't configured to clear all cookies on close.

     

    If you really need something more sophisticated it's probably 'iRules Time(tm)'.