UserSessionDataLoad Method

Loads the user session data from the Replication Layer.

Definition

Namespace: MobileTrack.DataContainers.Models
Assembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
public Task Load(
	HttpContext httpContext,
	RouteView routeView,
	CancellationToken cancellationToken
)

Parameters

httpContext  HttpContext

[Missing <param name="httpContext"/> documentation for "M:MobileTrack.DataContainers.Models.UserSessionData.Load(Microsoft.AspNetCore.Http.HttpContext,Microsoft.AspNetCore.Components.RouteView,System.Threading.CancellationToken)"]

routeView  RouteView

[Missing <param name="routeView"/> documentation for "M:MobileTrack.DataContainers.Models.UserSessionData.Load(Microsoft.AspNetCore.Http.HttpContext,Microsoft.AspNetCore.Components.RouteView,System.Threading.CancellationToken)"]

cancellationToken  CancellationToken

[Missing <param name="cancellationToken"/> documentation for "M:MobileTrack.DataContainers.Models.UserSessionData.Load(Microsoft.AspNetCore.Http.HttpContext,Microsoft.AspNetCore.Components.RouteView,System.Threading.CancellationToken)"]

Return Value

Task

[Missing <returns> documentation for "M:MobileTrack.DataContainers.Models.UserSessionData.Load(Microsoft.AspNetCore.Http.HttpContext,Microsoft.AspNetCore.Components.RouteView,System.Threading.CancellationToken)"]

Remarks

We use this method in the .cshtml pages on initial page load; whenever the user switches environment (or company, in case of MobileTrack support), the NavigationManager must perform a hard page load.

See Also