We can access session data in controllers and views like this:
Session[\"SessionKey1\"]
How do you access Session values from a class othe
You just need to call it through the HttpContext like so:
HttpContext
HttpContext.Current.Session["MyValue"] = "Something";