Question 124Asked in DSSSB TGT Computer Science, 25 Jun 2023, Shift 3 (4:30 PM)

Which object in ASP.NET provides a global storage mechanism for state data that needs to be accessible to all pages in a given web application?

  1. ASession
  2. BView state
  3. CApplication
  4. DNone of the given options
Show answerHide answer

Correct answer: (C) Application

Explanation

The Application object stores state shared by all users and pages of an ASP.NET application. Session state is per user, and ViewState is per page.

From DSSSB TGT Computer Science PYQ, 25 Jun 2023, Shift 3 (4:30 PM)

This is question 124 of DSSSB TGT Computer Science PYQ, 25 Jun 2023, Shift 3 (4:30 PM). See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.