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.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Hamid KhanPosted Sep 18, 2017, 6:50 AM
Hemu Kumar ShriwastawPosted Oct 1, 2014, 4:44 AM
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 NayakPosted Jun 6, 2012, 7:31 AM
Please refer the below link
http://stackoverflow.com/questions/560084/session-variables-in-asp-net-mvc
Thanks