nerdexam
Microsoft

98-361 · Question #270

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?

The correct answer is B. application. Application state is a data repository available to all classes in an ASP.NET application. Application state is stored in memory on the server and is faster than storing and retrieving information in a database. Unlike session state, which is specific to a single user session…

Understanding Web Applications

Question

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?

Options

  • Asession
  • Bapplication
  • Ccookies
  • DViewState

How the community answered

(39 responses)
  • A
    3% (1)
  • B
    77% (30)
  • C
    13% (5)
  • D
    8% (3)

Explanation

Application state is a data repository available to all classes in an ASP.NET application. Application state is stored in memory on the server and is faster than storing and retrieving information in a database. Unlike session state, which is specific to a single user session, application state applies to all users and sessions. Therefore, application state is a useful place to store small amounts of often-used data that does not change from one user to another.

Topics

#application state#state management#session state#ASP.NET

Community Discussion

No community discussion yet for this question.

Full 98-361 Practice