What data should never be stored in a session?
I am very sorry that it was clear what session you mean. Depending on the answer, I can come up with a couple:
, . , -. , , . HTTP , - , , .
COM complex .
COM
: ASP.NET 2.0 -
PHP.
$_SESSION, , cookie.
$_SESSION
.
, .
. , , . , . , , .. ( InProc), . , .
, , , , , , ViewState . - , , , . , ViewState, QueryString .. .
session session !
session
- , SessionMode="InProc" web.config. - .
SessionMode="InProc"
web.config
, - , SessionMode. , ( , ), .
See the Tess Ferrandes blog for other examples of things you should never put in a session, as well as the reasons why.
Promotions, pirated CDs, feature films (other than Clerks, this movie was awesome), analogue information, ...
This question seems a little vague - I can come up with countless kinds of information that should not be stored in the session!
Source: https://habr.com/ru/post/1730946/More articles:Draw a world map [WGS84] with OpenGL in a wide range - c ++Sample code for the comment parser - phpasp.net mvc: checkbox onchange not working - javascript-eventsMonoTouch String Comparison - stringclothing database design diagram - database-designСессия ASP.NET и хранение объектов, использующих COM-взаимодействие - asp.netHow to get the last page visited in the controller - asp.net-mvcHow to fix Unix startup code - unixWebView displays a black screen - androidОжидание завершения любого из этих BackgroundWorker - multithreadingAll Articles