Although the title of the question seems a bit subjective, I am sure there is nothing to discuss. I am currently working on an MVC project where I use the TemData container in some areas. When I read the documentation on MSDN, it seems that using TempData creates a session and that after reading the data stored in tempdata it disappears. I have everything in order with this concept, however, what continued to listen to me this morning is how it behaves when you host your application in a Web Farm environment.
What if the GET request is sent to SERVER 1, which creates TempData, and the subsequent GET / POST request is sent to SERVER 2.
I may be mistaken in this assumption, but I just need to clarify this thing.
Any input will be deeply appreciated ...
Hurrah!
source share