|
SessionHandlerGetSessionIDFromCookie(IRequest, String) Method
|
Gets the session ID Guid as defined in the SignalR cookie header values.
Namespace: GSF.Web.SecurityAssembly: GSF.Web (in GSF.Web.dll) Version: 2.4.218-beta
Syntax public static Guid GetSessionIDFromCookie(
IRequest request,
string sessionToken
)
Public Shared Function GetSessionIDFromCookie (
request As IRequest,
sessionToken As String
) As Guid
public:
static Guid GetSessionIDFromCookie(
IRequest^ request,
String^ sessionToken
)
static member GetSessionIDFromCookie :
request : IRequest *
sessionToken : string -> Guid
GSF.Web.Security.SessionHandler.GetSessionIDFromCookie = function(request, sessionToken);
View SourceParameters
- request IRequest
- The target SignalR request.
- sessionToken String
- Token used for identifying the session ID in cookie headers.
Return Value
GuidSession ID string, if defined; otherwise,
null.
See Also