SecPkgContext_SessionInfo structure (schannel.h)

Specifies whether the session is a reconnection and retrieves a value that identifies the session.

Syntax

typedef struct _SecPkgContext_SessionInfo {
  DWORD dwFlags;
  DWORD cbSessionId;
  BYTE  rgbSessionId[32];
} SecPkgContext_SessionInfo, *PSecPkgContext_SessionInfo;

Members

dwFlags

Bit flags that specify the type of session. The following value is defined.

Value Meaning
SSL_SESSION_RECONNECT
1
The session is a reconnection.

cbSessionId

The size, in bytes, of the rgbSessionId array.

rgbSessionId[32]

An array of up to 32 bytes that identifies the session.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Header schannel.h

See also

QueryContextAttributes (Schannel)