Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

XHR_COOKIE_STATE enumeration

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

The state of the cookie is unknown.

XHR_COOKIE_STATE_ACCEPT

The cookie has been accepted by the client.

XHR_COOKIE_STATE_PROMPT

The user is being prompted to accept the cookie form the server.

XHR_COOKIE_STATE_LEASH
XHR_COOKIE_STATE_DOWNGRADE
XHR_COOKIE_STATE_REJECT

The cookie has been rejected.

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Header

Msxml6.h

See also

XHR_COOKIE
SetCookie

 

 

Community Additions

Show:
© 2017 Microsoft