HttpRequestMessage.RemoveCookie(Text) Method
Version: Available or changed with runtime version 13.0.
Removes the specified cookie given a name.
Syntax
[Ok := ] HttpRequestMessage.RemoveCookie(Name: Text)
Parameters
HttpRequestMessage
Type: HttpRequestMessage
An instance of the HttpRequestMessage data type.
Name
Type: Text
The name of the cookie.
Return Value
[Optional] Ok
Type: Boolean
true if the specified cookie was found and successfully removed, false otherwise. If you omit this optional return value and the operation does not execute successfully, a runtime error will occur.
Related information
HttpRequestMessage Data Type
Getting Started with AL
Developing Extensions