Moderate

You need to store state data that is accessible to any user who connects to your Web application. Which object should you use ?

Correct answer: D. Application

  • A. Response.ViewState
  • B. Response.Cookies
  • C. Session
  • D. Application

Explanation

Application state is shared across all users and remains available to the web application, whereas Session stores data separately for each user. Cookies are stored on the client, not centrally in the application.

Last updated

Practise Web and Mobile Development

268 free Web and Mobile Development MCQs from Software Engineering, each with the correct answer and an explanation. Unlimited attempts, no account needed.

Exams that ask Software Engineering questions like this

Software Engineering is on this paper prepared for on TestUstad, and all of them draw the same bank, so this question is worth knowing for it.

Related questions