How to delete a particular request header cookie using the Content Policy Language ?
Last Updated May 13, 2017
Use the delete_matching action.
delete_matching( ) Deletes all components of the specified header that contain a substring matching a regular-expression pattern.
Note: An error results if two header modification actions modify the same header. The error is noted at compile time if the conflicting actions are within the same action definition block. A runtime error is recorded in the event log if the conflicting actions are defined in different blocks.
Syntax delete_matching(header, regex_pattern)
define action deletecookie delete_matching(request.header.cookie, "^SMSESSION=.*") end