Alternative to sessions? (asp.net mvc c #)

They tell me that the server that we are letting us use has 2 GB of RAM, but is almost maximized by the current main application that runs on it. But to create a site that is completely dependent on the web service, we need to pass the answer to the previous request in the chain ... that is.

Page 1

var stepone = project.webservice.stepone("companyname","companyid"); //List Array Returned

Page 2

var steptwo = project.webservice.steptwo(stepone, otherargs);

As "they" do not want us to store "a lot" in the session and use ASP.net MVC C #, what other ways can keep our memory capacity lower, but allow us to store what we need for user progression.

+3
source share
5 answers

TempData, ITempDataProvider , .

+3

Velocity - Microsoft. .

+1

, MVC (?) POST- . , , , POSTs , .

, . -, , .

0

cookie.

0

If you have a database server, create temporary tables to store your data as needed.

0
source

Source: https://habr.com/ru/post/1715017/


All Articles