阅读背景:

在重定向中使用Asp.Net MVC TempData时是否存在可能的“竞争条件”?

来源:互联网 

When using TempData, my understanding is that it will keep whatever you put in it around for only one request. So when using TempData to retain data across a redirect (in order to use the Post-Request-Get pattern), isn't it possible that some other request from the user could come into the server in between the response sending the redirect and the user's browser requesting the redirected-to page? In which case the get would no longer have the TempData available, correct?When using TempData, my understanding is that i




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: