XHR_COOKIE_STATE enumeration (msxml6.h)

Specifies the state of the cookie.

Syntax

typedef enum _XHR_COOKIE_STATE {
  XHR_COOKIE_STATE_UNKNOWN = 0,
  XHR_COOKIE_STATE_ACCEPT = 0x1,
  XHR_COOKIE_STATE_PROMPT = 0x2,
  XHR_COOKIE_STATE_LEASH = 0x3,
  XHR_COOKIE_STATE_DOWNGRADE = 0x4,
  XHR_COOKIE_STATE_REJECT = 0x5
} XHR_COOKIE_STATE;

Constants

 
XHR_COOKIE_STATE_UNKNOWN
Value: 0
The state of the cookie is unknown.
XHR_COOKIE_STATE_ACCEPT
Value: 0x1
The cookie has been accepted by the client.
XHR_COOKIE_STATE_PROMPT
Value: 0x2
The user is being prompted to accept the cookie form the server.
XHR_COOKIE_STATE_LEASH
Value: 0x3
XHR_COOKIE_STATE_DOWNGRADE
Value: 0x4
XHR_COOKIE_STATE_REJECT
Value: 0x5
The cookie has been rejected.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Header msxml6.h

See also

SetCookie

XHR_COOKIE