Forum Discussion

Simon_Wright_85's avatar
Simon_Wright_85
Icon for Nimbostratus rankNimbostratus
Apr 25, 2008

Age of Persistence Records

Hi all

 

 

On one of our sites we use cookies for session persistence as our default but also have source address affinity setup as our fall back method.

 

 

I recently changed the timeout on the source address affinity to 60 minutes to match the timeout on the cookie persistence.

 

 

I have noticed that when looking at the Persistence Records Statistics i never see source address affinity records older than 180 seconds which was the old setting. The cookie persistence records all go up to 36o0 seconds as i would expect.

 

 

Does anyone know what could be causing this? I have the persistence profile set to match across services and the timeout set to 3600 seconds.

 

 

Thanks in advance

 

 

Simon

 

4 Replies

  • You might try creating a new profile and using that as the fallback instead of editing the default one (it shouldn't matter, but I prefer leaving the default profiles alone and adding "child" ones to change any settings). Also, you shouldn't be seeing any cookie persistence records in the Statistics, LTM does not keep a table of cookie persistence (it knows to look at the cookie). So if you are seeing some sort of record listed in Stats with 3600 seconds those may actually be from your fallback profile.

     

     

    Denny
  • Hi Denny

     

     

    Thanks for the response. I have a child profile created and was using this as like you i prefer to leave the main ones alone. I have tried editing this but it still only has records upto 180 seconds.

     

     

    Looking at the statistics for persistence records it lists two types cookie and source address affinity. The cookie is a hashed cookie which i want to change to insert cookie but the customer wants to keep it this way at the moment. I will see if i can turn off source address affinity as part of the terms of using the app is that you must enable cookies in your browser.

     

     

    Cheers

     

     

    Simon
  • Deb_Allen_18's avatar
    Deb_Allen_18
    Historic F5 Account
    Hi Simon -

     

     

    That is not expected behaviour regardless of which version of the profile you edit and apply. Please open a Support case on this issue if the timeout is not being applied to new connections.

     

     

    /deb