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