Is it normal to store large amounts of data in a session?

I am creating a survey, and I think to save the survey in the session using a unique key key until the user completely creates and saves it.
I think it will be an array of 100 ~ 200 objects (8 property classes)

+3
source share
4 answers

This seems like a fair use of Session.

Whether your data is too large depends on quite a few things, such as the memory of your web server. It is best to test performance with a session. If you find that your data is too heavy for the session, see the ASP.NET Profile .

+3

, . , -, , , .

+2

IMHO , - .
. , .

(DB, ..) , .

+2

ggonsalv. - , . , , . .

0

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


All Articles