Forum Discussion

UserAbc_192344's avatar
UserAbc_192344
Icon for Nimbostratus rankNimbostratus
Jan 18, 2016

iRULE to set Jsession id to null

Hi,

 

Please can anyone provide me with an irule which is similar to the script below.

 

if ( $url == "/index.jsf" || $url == "/web/logout" )

 

{ http.setcookie( "JSESSIONID", "" ); }

 

1 Reply

  • Hi UserAbc,

     

    Do you want to overwrite to "" or completely remove the given cookie. And do you want to perform the action for the user request or server response?

     

    Cheers, Kai