|
SessionHandlerTryGetSessionState Method
|
Tries to get the session state as defined in the request properties dictionary.
Namespace: GSF.Web.SecurityAssembly: GSF.Web (in GSF.Web.dll) Version: 2.4.218-beta
Syntax GSF.Web.Security.SessionHandler.TryGetSessionState = function(request, sessionToken, sessionState);
View SourceParameters
- request HttpRequestMessage
- The target HTTP request message.
- sessionToken String
- Token used for identifying the session ID in properties dictionary.
- sessionState DynamicViewBag
- Session state to return.
Return Value
Booleantrue if session state was successfully accessed; otherwise,
false.
See Also