Forum Discussion

scsp_177450's avatar
scsp_177450
Icon for Nimbostratus rankNimbostratus
Jan 08, 2015

Universal Persistance - iRule vs Profile

Hi,

 

I have learned that we can implement UIE persistency in 2 ways.

 

1) added as a iRule in the Virtual Server's resource.

 

2) add the iRule into a Universal Persistence profile, then add to the Virtual Server's resources under the "Default Persistence Profile".

 

My question is, is there any difference in the implementation?

 

8 Replies

  • Is there a way to set the httponly flag for cookies created with the persist command?

     

    Or is there a way to set he version flag with the persist command also?

     

    • Torti_93733's avatar
      Torti_93733
      Icon for Nimbostratus rankNimbostratus
      I have the same question for the cookies, created with a ltm persistence profile
  • Is there a way to set the httponly flag for cookies created with the persist command?

     

    Or is there a way to set he version flag with the persist command also?

     

    • Torti's avatar
      Torti
      Icon for Altostratus rankAltostratus
      I have the same question for the cookies, created with a ltm persistence profile
  • I know the persist command for setting the persistence, but I didn't find a way to connect a LTM persistence profile with the persist profile.

     

  • Arie, is it possible to use a persistence profile in an irule?

     

  • Arie's avatar
    Arie
    Icon for Altostratus rankAltostratus

    The functionality would appear to be the same. However, option 2 provides easy access to features like mirroring persistence, matching across services, matching across VIPs, matching across pools, and time-out limits. You could accomplish all this via iRules, but that would be rather cumbersome.

     

    By the way, don't forget to use OneConnect when you're using either Cookie or Universal persistence.