Which of following is the best approach to assign a session in MVC?
1.System.Web.HttpContext.Current.Session["LoginID"] =7;
2.Current.Session["LoginID"] =7;
3.Session["LoginID"] =7;
4.Nonewrong
Answer:2
Posted Date:-2022-11-08 04:55:26