Microsoft
70-519 · Question #294
You are developing an ASP.NET Web application. The application must pass an object that contains user-specific data between multiple pages. The object is more than 100 KB in size when serialized…
The correct answer is B. Store the object instance in a session variable. See the full explanation below for the reasoning.
Question
You are developing an ASP.NET Web application. The application must pass an object that contains user-specific data between multiple pages. The object is more than 100 KB in size when serialized. You need to minimize the amount of data is sent to the user. What should you do?
Options
- APass the object data in a hidden field.
- BStore the object instance in a session variable.
- CUse a cookie that contains the object data.
- DEncode the object data and pass it in a query string parameter.
How the community answered
(25 responses)- A8% (2)
- B80% (20)
- C4% (1)
- D8% (2)
Community Discussion
No community discussion yet for this question.