98-363 · Question #216
What should you use to save individual user state information on the server side?
The correct answer is A. Session state. Server-Based State Management Options include: ASP.NET allows you to save values by using session state -- which is an instance of the HttpSessionState class -- for each active Web-application session. Session state is similar to application state, except that it is scoped to…
Question
What should you use to save individual user state information on the server side?
Options
- ASession state
- BCookies
- CCache
- DApplication state
How the community answered
(64 responses)- A70% (45)
- B5% (3)
- C17% (11)
- D8% (5)
Explanation
Server-Based State Management Options include: ASP.NET allows you to save values by using session state -- which is an instance of the HttpSessionState class -- for each active Web-application session. Session state is similar to application state, except that it is scoped to the current browser session. If different users are using your application, each user session will have a different session state. In addition, if a user leaves your application and then returns later, the second user session will have a different session state from the first. * (incorrect) Application State ASP.NET allows you to save values using application state -- which is an instance of the HttpApplicationState class -- for each active Web application. Application state is a global storage mechanism that is accessible from all pages in the Web application. Thus, application state is useful for storing information that needs to be maintained between server round trips and between requests for pages.
Topics
Community Discussion
No community discussion yet for this question.