What is the purpose of SessionState attribute used in MVC. ex-[SessionState(SessionStateBehavior.Disabled)]
[SessionState(SessionStateBehavior.Disabled)] public class SessionlessController : Controller { // GET: Sessionless public ActionResult Index() { Session["sessionStr"] = DateTime.Now; return View(); } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)