Forum Discussion

Albert__Tase_70's avatar
Albert__Tase_70
Icon for Nimbostratus rankNimbostratus
Jul 07, 2008

cookie persistance

Hello

 

 

Neeed some help have an irule which currently sets

 

ssl persistance to 1500 if url matches need to add cookie persistance if uirl dose not match looked on the docs

 

can only find presist:: profile with no examples of code

 

tried this get error message basically need the syntax to

 

add cookie presistanc ewith a 25 minute time out if it dos enot match the urls

 

 

 

thanks

 

 

1 Reply

  • hoolio's avatar
    hoolio
    Icon for Cirrostratus rankCirrostratus
    Hi Al,

    You can use the persist command (Click here😞

     
     when HTTP_REQUEST { 
        if {$some_condition == 1}{ 
      
            Use cookie insert persistence for this 
           persist cookie insert COOKIE_NAME TIMEOUT 
        } 
     } 
     

    Aaron