Forum Discussion

Stefan_Klotz's avatar
Stefan_Klotz
Icon for Cumulonimbus rankCumulonimbus
Aug 04, 2023

Change default cookie insert name

Is there any possibility to change the default cookie name (BIGipServer) for a cookie insert persistence profile? We want to use a standard cookie insert profile across several virtual servers, but avoiding the name "BIGipServer". But we still need the "" as a dynamic variable. Is there some variable syntax available for the cookie name field or can we modify the default "BIGipServer" string? Or is this somewhere hardcoded in the OS? Thank you! Regards Stefan 🙂

  • Looks like you can set the cookie name when creating a custom cookie profile.

    The example below is running v15.1

     

    • Stefan_Klotz's avatar
      Stefan_Klotz
      Icon for Cumulonimbus rankCumulonimbus

      Ben_Novak yes I know this, but I'm looking for a generic cookie insert persistence profile, which I can use for several different VS, but where the cookie name will be generated dynamically based on the pool-name like for the default cookie profile. But I don't want to have the prefix "BIGipServer" included for security reasons.
      Thank you!

      • zamroni777's avatar
        zamroni777
        Icon for Nacreous rankNacreous

        adding to Ben_Novak answer,

        the traffic policy or irules will be:
        on server response: insert your customized persistence header,
        on client request: read the presistence header and select intended pool