Method GetActiveSessionGroup
- Namespace
- MVVrus.AspNetCore.ActiveSession
- Assembly
- MVVrus.AspNetCore.ActiveSession.dll
GetActiveSessionGroup(HttpContext)
Gives access to an active session group (AKA Local Session) for this request, if any.
public static ILocalSession GetActiveSessionGroup(this HttpContext Context)
Parameters
Context
HttpContextHttpContextof the request.
Returns
- ILocalSession
Reference of type ILocalSession to an active session group object associated with the request if available, or to a dummy local session object which IsAvailable property containing false.