nerdexam
GIAC

GSSP-.NET · Question #278

(Topic 3) Maria works as a Software Developer for ABC Inc. The company uses Visual Studio .NET 2005 as its application development platform. She creates a Web service and uses a Session object in…

The correct answer is D. The variable will be available as long as the session is active. See the full explanation below for the reasoning.

Question

  • (Topic 3)

Maria works as a Software Developer for ABC Inc. The company uses Visual Studio .NET 2005 as its application development platform. She creates a Web service and uses a Session object in it. She declares a variable in the Session object. What will be the scope of the variable?

Options

  • AThe variable will be available as long as a user interacts with it.
  • BThe variable will be available forever.
  • CThe variable will be available even after the session becomes inactive.
  • DThe variable will be available as long as the session is active.

How the community answered

(36 responses)
  • A
    8% (3)
  • B
    3% (1)
  • C
    14% (5)
  • D
    75% (27)

Community Discussion

No community discussion yet for this question.

Full GSSP-.NET Practice