DataScript: avi.http.remove_cookie
DataScript
Function | avi.http.remove_cookie( name1, [name2, ...] ) |
Description | Removes the given cookie(s) from either in the HTTP request or response based on the current context the function was executed from within. |
Events | HTTP_REQ HTTP_REQ_BODY HTTP_RESP |
Parameter | Removes the given cookie(s) from either in the HTTP request or response based on the current context the function was executed from within. If no cookie names are provided then all the cookies in that context are removed. |
Returns | None |
Example | Remove two cookies from the request or response.
Remove all the cookies from the request or response:
|