Forum Discussion

AbdulHafis_3723's avatar
AbdulHafis_3723
Icon for Nimbostratus rankNimbostratus
Sep 19, 2018

Need assistance with Persistance

Is there an Irule similar to work as cookie persistance as my application needs irule to be used which runs similar to cookie persistance.

 

3 Replies

  • Hi,

     

    is there a reason not to use the cookie persistence profile in the GUI?

     

    regards

     

  • We have our Pre-Prod setup in which the servers were old Windows boxes which were using aspsession_persist as their persistence. Now the servers have been migrated to new Windows boxes, with still the same persistence was in place ,the user reported that they are getting the intermittent session timeout. So for test purpose, we set it for Cookie and it worked fine but since the Prod environment is still using old Windows box and it has not yet been migrated, Business needs to check if there could be an Irule that works in the similar fashion as of a cookie persistence to maintain consistency in the Environments.

     

  • Hi Abdul,

     

    what I advise you for now is to use "source addr" persistence. in terms of treatment by F5 it's the same as if you used cookies.

     

    Let me explain, when you use cookie persistence, your persistence information is stored in cookie in the client's browser.

     

    when you use source addr persitence, information is stored on F5 in a corespondance table.

     

    Another point, When you set cookie persistence without specifying the expiration, it defaults to "when browser closes". So in order to have the same behaviour create a new src addr persistence then modify timeout to indefinite.

     

    it is true that there are other aspects, your persistence will be manage regarding your source IP, so if all users are nated an comes from the same IP they will be redirect to the same node...

     

    So first of try this and keep me update