Hi,
can we use tempdata value in throughout controller like session?
Please explain me
Thanks in adv.
Chakri.
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.
Rupali ShindePosted Dec 27, 2015, 11:04 PM
The Life time of the TempData can be managed using the Keep() method.
Session:
Like TempData the value must be type-casted when it is used for processing.
http://www.dotnetcurry.com/aspnet-mvc/1074/aspnet-mvc-pass-values-temp-data-session-requestFrancis SusaimichaelPosted Dec 27, 2015, 4:28 PM