开发者

Asp.net MVC 2.0 TempData expiration

开发者 https://www.devze.com 2023-01-05 19:51 出处:网络
What happens in Asp.Net MVC 2.0, when next 开发者_JAVA技巧request does not come ever to retrieve value from TempData. Is it stored permanently or expires?As TempData is stored in session it will expir

What happens in Asp.Net MVC 2.0, when next 开发者_JAVA技巧request does not come ever to retrieve value from TempData. Is it stored permanently or expires?


As TempData is stored in session it will expire along with the session. Also note that TempData is not expired when it is retrieved but on the next request no matter whether you access it or no.

0

精彩评论

暂无评论...
验证码 换一张
取 消