![Radware Alteon Application Manual Download Page 251](http://html.mh-extra.com/html/radware/alteon/alteon_application-manual_781134251.webp)
Alteon Application Switch Operating System Application Guide
Server Load Balancing
Document ID: RDWR-ALOS-V2900_AG1302
251
To configure the remove action for cookies
With this action, the entire key=value pair is removed from the header. The value specified is used
to decide whether the header should be removed. When the direction is set to request, the cookie
header is modified. When the direction is set to response, the Set-Cookie header is modified.
Note:
The numbers and names in this procedure are examples only.
1. Access HTTP Modification rule list configuration via the Layer 7 menu, enter a rule list ID, and
enable the rule list.
2. Enter rule, the rule ID number, and then enter the desired element type.
3. Enter action to access the Rule Action menu, and then enter remove to set the new rule
remove action.
4. Enter directn to set the rule direction, and then enter the rule direction: request or response.
>>HTTP Modification rule-list mylist# cur
Current rule-list: mylist enabled
10:
enabled
action replace cookie
from: KEY=User-Type, VALUE=Gold
to: KEY=User-Type, VALUE=Premium
direction request
>>Main# /cfg/slb/layer7/httpmod
>>Enter HTTP Modification rule-list id (alphanumeric): http-mod-list
>>HTTP Modification rule-list http-mod-list# ena
>>HTTP Modification rule-list http-mod-list# rule
>>Enter HTTP Modification rule number (1-128):5
>>Element can be one of: url, header, cookie, filetype, statusline, text
>>Enter element to be modified: cookie
>>cookie Modification http-mod-list Rule 5
>>cookie Modification http-mod-list Rule 5 # action
>>Current rule action:
>>Enter new rule action [insert|replace|remove]: remove
>>Enter cookie key to remove:
>>Enter cookie value to remove:
>>cookie Modification http-mod-list Rule 5 # directn
>>Enter new rule direction [req:resp] [req]: