This documentation is archived and is not being maintained.
This documentation is archived and is not being maintained.
Privacy Flags
The Privacy Flags are used to give information about cookie operations performed (COOKIEACTION flags) and about the URL that requested the operations (PRIVACY flags). One or more of these flags are set in the pdwFlags parameter by the IEnumPrivacyRecords::Next method. The COOKIEACTION flags are set in the LOWORD(low-order word) while the HIWORD(high-order word) is used to set the PRIVACY flags.
When cookies are set or retrieved through script, the HIWORD of the Privacy Flags is zero.
Constant/value
Description
COOKIEACTION_NONE
0x0
There are no cookie actions.
COOKIEACTION_ACCEPT
0x1
A cookie was accepted on the client.
COOKIEACTION_REJECT
0x2
A cookie was rejected.
COOKIEACTION_DOWNGRADE
0x4
A cookie was downgraded from a persistent cookie to a session cookie.
COOKIEACTION_LEASH
0x8
A cookie was leashed. A leashed cookie is a one that is not sent in a third-party context.
COOKIEACTION_SUPPRESS
0x10
A cookie was suppressed.
COOKIEACTION_READ
0x20
A cookie was read and sent.
PRIVACY_URLISTOPLEVEL
0x00010000
The URL is a top-level URL reached by either the user or through script. The first non-null URL with this flag represents the top-level movement initiated by the user. Any subsequent non-null URLs with this flag represent top level navigations through script.
PRIVACY_URLHASCOMPACTPOLICY
0x00020000
The URL had a compact privacy policy in a P3P header.
PRIVACY_URLHASPOSTDATA
0x00080000
Data was posted to the URL.
PRIVACY_URLHASPOLICYREFLINK
0x00100000
The URL specified a URL for a full privacy policy in a LINK tag.
PRIVACY_URLHASPOLICYREFHEADER
0x00200000
The Web service specified a URL for a full privacy policy in the P3P header.
PRIVACY_URLHASP3PHEADER
0x00400000
The URL specified a P3P header.
Remarks
Privacy Flags was introduced in Microsoft Internet Explorer 6