How to maintain Session in MVC ?pls tell m some1.
Thanks
Loading
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Hemu Kumar Shriwastaw125 reputationPosted Oct 1, 2014, 12:44 AM EDT
1-viewdata
2-viewbag
3-tempdata.
1-view data-it a type of data which take from active directory and it passing the data fro controller to view.
2-viewbag-it work is same like view data but one diffrence is it taking the variable name dynamically.
3-temp data-it sending the data controller to controller and it only the send and store the certain time of period means page load and it again page refresh data will me lost. this article useful for u.if any doubt please send me mail [email protected]
Satyapriya NayakRank #47 · 31.5K reputationPosted Jun 6, 2012, 3:31 AM EDT
Please refer the below link
http://stackoverflow.com/questions/560084/session-variables-in-asp-net-mvc
Thanks
Hamid KhanRank #424 · 5.9K reputationPosted Sep 18, 2017, 2:50 AM EDT