Get Session content on cshtml

150

Get Session content on cshtml -

@using Microsoft.AspNetCore.Http
@{
	var x = Context.Session.GetString("Some Key");
}

Comments

Submit
0 Comments