nerdexam
GIAC

GSSP-NET · Question #104

John works as a Software Developer for CyberTech Inc. He creates an ASP .NET page named BookItemList.aspx, which displays a price list of computer books. Registered users have to first log on to the…

The correct answer is B. Set the EnableEventValidation attribute to true. C. Set the EnableViewState attribute to true. See the full explanation below for the reasoning.

Question

John works as a Software Developer for CyberTech Inc. He creates an ASP .NET page named BookItemList.aspx, which displays a price list of computer books. Registered users have to first log on to the company's Web site in order to view the current price list of different computer books available on the Web site. Users want to maintain the page requests as long as they are accessing the Web page. John wants to ensure that whenever the Web page BookItemList.aspx is posted back to the server, the price list should not be changed on the registered user's computer. He also wants to validate the page sent back to the server. Which of the following actions will John take to accomplish the task? Each correct answer represents a part of the solution. Choose two.

Options

  • ASet the EnableEventValidation attribute to false.
  • BSet the EnableEventValidation attribute to true.
  • CSet the EnableViewState attribute to true.
  • DSet the EnableViewState attribute to false.

How the community answered

(40 responses)
  • A
    8% (3)
  • B
    73% (29)
  • D
    20% (8)

Community Discussion

No community discussion yet for this question.

Full GSSP-NET Practice