Click or drag to resize

SessionHandlerGetSessionIDFromCookie(IRequest, String) Method

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

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

Parameters

request  IRequest
The target SignalR 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