GIAC
GSSP-.NET · Question #460
GSSP-.NET Question #460: Real Exam Question with Answer & Explanation
The correct answer is D. Set the EnableSessionState attribute in the @ Page directive to false.. See the full explanation below for the reasoning.
Question
- (Topic 4) John works as a Web Developer for ProLabs Inc. He develops an ASP.NET application, named MyWebApp1, using Visual Studio .NET. One of the pages in the application is named as Page1.aspx, which does not need to maintain session state. To improve the performance of the application, John wants to disable session state for Page1. Which of the following actions will he take to accomplish the task?
Options
- ASet the EnableViewState attribute in the @ Page directive to false.
- BSet the DisableSessionState attribute in the @ Page directive to true.
- CIn the sessionState configuration section of the application's Web.config file, set the
- DSet the EnableSessionState attribute in the @ Page directive to false.
Community Discussion
No community discussion yet for this question.