Microsoft Exam Questions

Which state management strategy should you use?

You are creating an ASP.NET application by using the .NET Framework 3.5.

You create a custom Web server control to implement the shopping cart functionality in the application.

You add the following code fragment to the Web.config file of the application.

<authentication mode=”None” />

< sessionState mode=” SQLServer ” />

You need to ensure that when the user re-opens the Web browser, the application retains the state of the shopping cart.

Which state management strategy should you use?

A.
HTTP cookies

B.
Cache object

C.
Profile properties

D.
SessionState object