Forum Discussion

Preet_pk's avatar
Icon for Cirrus rankCirrus
Mar 10, 2022

Disable cookie persistance in irule

Hi, Just want to know if there is any option to disable cookie persistance in irule for a particular application. As we are using host based Layer 7 irule, there is a requirement to disable cookie p...
  • CA_Valli's avatar
    Mar 10, 2022

    Hello, add "persist none" instruction in switch statement. "persist none" disables persistence (whether enabled via profile or iRule) until the current connection is closed or another persist iRule command is used.

    when HTTP_REQUEST {
      switch [string tolower [HTTP::host]] { { pool lab1_Pool1 } {
          pool lab2_Pool1
          persist none