0 out of 2 rated this helpful - Rate this topic

XHR_COOKIE structure

Defines a cookie that you can assign to an outgoing HTTP request by calling the SetCookie method or retrieve from an incoming HTTP response by calling the GetCookie method.

Syntax


typedef struct _XHR_COOKIE {
  WCHAR    *pwszUrl;
  WCHAR    *pwszName;
  WCHAR    *pwszValue;
  WCHAR    *pwszP3PPolicy;
  FILETIME ftExpires;
  DWORD    dwFlags;
} XHR_COOKIE, *PXHR_COOKIE;

Members

pwszUrl

A null-terminated string that specifies the URL in the cookie.

pwszName

A null-terminated string that specifies the name in the cookie.

pwszValue

A null-terminated string that specifies the value in the cookie.

pwszP3PPolicy

A null-terminated string that specifies the user policy in the cookie.

ftExpires

A null-terminated string that specifies the date and time at which the cookie expires.

dwFlags

Set of bit flags that specifies properties of the cookie.

Requirements

Minimum supported client

Windows 8 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 [desktop apps | Windows Store apps]

Version

MSXML 6.0 and later

Header

Msxml6.h

IDL

Msxml6.idl

See also

SetProperty Method
IXMLHTTPRequest2 Interface

 

 

Send comments about this topic to Microsoft

Build date: 10/26/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.