Forum Discussion

JB325_287199's avatar
JB325_287199
Icon for Nimbostratus rankNimbostratus
Sep 08, 2016

Common/Cookie_Remove:4: error:

Can anyone tell me why I get this error when making an iRule to remove cookies? wrong args][HTTP::cookie remove] Here is my iRule... when HTTP_REQUEST { if {[HTTP::path] contains "/smartpayments*" } {

 

HTTP::cookie remove } }

 

1 Reply

  • Hi JB325,

    You have to specify the name of the cookie which should be removed...

    HTTP::cookie remove MyCookieName

    ... if you need to remove every cookie from the current request, then use...

    HTTP::header remove Cookie

    Cheers, Kai