You have a Microsoft ASP.NET web application. You need to store a value that can be shared across users on the server. Which type of state management should you use?
A. Session
B. ViewState
C. Application
D. Cookies
2 Comments on “Which type of state management should you use?”
Johansays:
it should be c! application
a session is 1 to 1
0
0
Tia Elyani Napitusays:
it’s A https://msdn.microsoft.com/en-us/library/75x4ha6s.aspx
You can use session state to accomplish the following tasks:
-Uniquely identify browser or client-device requests and map them to an individual session instance on the server.
-Store session-specific data on the server for use across multiple browser or client-device requests within the same session.
– Raise appropriate session management events. In addition, you can write application code leveraging these events.
it should be c! application
a session is 1 to 1
0
0
it’s A
https://msdn.microsoft.com/en-us/library/75x4ha6s.aspx
You can use session state to accomplish the following tasks:
-Uniquely identify browser or client-device requests and map them to an individual session instance on the server.
-Store session-specific data on the server for use across multiple browser or client-device requests within the same session.
– Raise appropriate session management events. In addition, you can write application code leveraging these events.
0
0