Uzyskaj zawartość sesji na CSHTML
@using Microsoft.AspNetCore.Http
@{
var x = Context.Session.GetString("Some Key");
}
Old-fashioned Okapi
@using Microsoft.AspNetCore.Http
@{
var x = Context.Session.GetString("Some Key");
}