It seems you are using TempData to stream through the various pages of your site; in general, I would say that this is bad practice.
Ideally, you will pass all the upcoming state that you need to the client, and the client will save it (in some JSON or something else). Then the client will return it to you as part of its action, and then you will return the corresponding state, etc .; this speaks more about the statelessness of HTTP applications.
source share