Session in asp.net MVC

Session in asp.net MVC

System.Web.HttpContext.Current.Session["id"] = "abc1234";
string userid = Session["id"].ToString();

2020-02-12