Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Version: Available or changed with runtime version 13.0.
Gets the specified cookie given a name.
Syntax
[Ok := ] HttpRequestMessage.GetCookie(Name: Text, var Cookie: Cookie)
Parameters
HttpRequestMessage
Type: HttpRequestMessage
An instance of the HttpRequestMessage data type.
Name
Type: Text
The name of the cookie.
Cookie
Type: Cookie
The cookie object.
Return Value
[Optional] Ok
Type: Boolean
true if the specified cookie was found, 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