Cookie.Secure() Method

Version: Available or changed with runtime version 13.0.

True if the cookie is Secure, false otherwise. It indicates that the cookie is sent only when a request is made with the https.

Syntax

Secure :=   Cookie.Secure()

Note

This method can be invoked using property access syntax.

Parameters

Cookie
 Type: Cookie
An instance of the Cookie data type.

Return Value

Secure
 Type: Boolean
True if the cookie is Secure, false otherwise.

Cookie Data Type
Getting Started with AL
Developing Extensions