Click or drag to resize

SessionHandlerGetSessionIDFromCookie(HttpRequestMessage, String) Method

Gets the session ID Guid as defined in the request cookie header values.

Namespace: GSF.Web.Security
Assembly: GSF.Web (in GSF.Web.dll) Version: 2.4.181-beta
Syntax
public static Guid GetSessionIDFromCookie(
	HttpRequestMessage request,
	string sessionToken
)
View Source

Parameters

request  HttpRequestMessage
The target HTTP request message.
sessionToken  String
Token used for identifying the session ID in cookie headers.

Return Value

Guid
Session ID string, if defined; otherwise, null.
See Also