Click or drag to resize

SessionHandlerGetSessionIDFromCookie(IOwinRequest, String) Method

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

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

Parameters

request  IOwinRequest
The target Owin request.
sessionToken  String
Token used for identifying the session ID in cookie headers.

Return Value

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