I m very new to MVC..
and im asked to create login form with session..
I dont know anything about session.. and how to create it..
I tried a lot to search from google.. but no solution found which teach me from starting(basic).. it means from where to start creating session.. and how to create it and about syntax etc...
so does anyone give me suggestions about that or provide any links which gives me all the information about session(how to create it, where to create it..etc..)???
sorry for my english..
I also wants to know that
i m using
HttpContext.current.Session["UserId"] = UserName;
string usernm = HttpContext.current.Session["UserId"].ToString();
where .current option not provided...
so is there any header file for that??
Thanks in advance..