Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How can you maintain session in mvc?



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

Post New Answer

More MVC Model View Controller Interview Questions

Explain the role of "actionfilters" in mvc?

1 Answers  


What is validation summary in mvc?

1 Answers  


What are the settings to be done for the Routing to work properly in an MVC application ?

1 Answers   Cognizant,


Mention what is the difference between viewdata and viewbag?

1 Answers  


What does mvc mean?

1 Answers  


Is flask an mvc model and if yes give an example showing mvc pattern for your application?

1 Answers  


What is mvc in angularjs?

1 Answers  


What does model do in mvc?

1 Answers  


What is mvc ioc?

1 Answers  


How do you implement forms authentication in mvc?

1 Answers  


What is mvc token?

1 Answers  


What does it mean to annotate something?

1 Answers  


Categories