Previous topicNext topic
Help > Methods >
GetCookies

GetCookies Method

Returns the cookies for the current top-level document.

Syntax

String = object .GetCookies

String : the page cookies.

The GetCookies method syntax has these parts:

Element Description
Object The  object placeholder represents an OrdoWebView2 control

Remarks     

  • The function returns regular cookies (found by the JavaScript property "document.cookie") but also HTTP-only cookies hidden in the page headers