public async Task InvokeAsync(HttpContext context)
        {
            if (!context.Request.Path.Value.Contains("Heartbeat"))
            {
                SessionStateHelper.UpdateSessionActivity(context.Session);
            }

            await _next(context);
        }
Esempio n. 2
0
 public void OnGetUpdateActivity()
 {
     SessionStateHelper.UpdateSessionActivity(HttpContext.Session);
 }