Hello I am looking to use a session variable in MVC 3 C# to store a user Id, so that the user doesn't have to enter their user id on create form
Where should I put the code for the session variable, if not in the global.asax file? i know the code looks something like
Session["userId"]
I have seen examples using the global.asax but it is very confusing.
Thank you in advance