Which type of state management should you use?

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?

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



Leave a Reply 2

Your email address will not be published. Required fields are marked *


Johan

Johan

it should be c! application
a session is 1 to 1

Tia Elyani Napitu

Tia Elyani Napitu

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.