GIAC
GSSP-NET · Question #310
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…
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
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
(39 responses)- A8% (3)
- B13% (5)
- C5% (2)
- D74% (29)
Community Discussion
No community discussion yet for this question.