How can you maintain session in mvc?
Answer / Surendra Nath Gupta
Session state in ASP.NET MVC is maintained using System.Web.SessionState.HttpSessionState class. To use sessions, enable it in the Web.config file under the <system.web> section.nnFor example:n<sessionState mode="InProc" cookieless="false"/>nThis sets session state to In-Process mode and enables cookies.
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain the role of "actionfilters" in mvc?
What is validation summary in mvc?
What are the settings to be done for the Routing to work properly in an MVC application ?
Mention what is the difference between viewdata and viewbag?
What does mvc mean?
Is flask an mvc model and if yes give an example showing mvc pattern for your application?
What is mvc in angularjs?
What does model do in mvc?
What is mvc ioc?
How do you implement forms authentication in mvc?
What is mvc token?
What does it mean to annotate something?