should you use?

You create a Microsoft ASP.NETWeb application by using the Microsoft .NET Framework
version 3.5.The application uses ASP.NET AJAX, and you plan to deploy it in a Web farm
environment.You need to configure SessionState for the application. Which code fragment
should you use?

You create a Microsoft ASP.NETWeb application by using the Microsoft .NET Framework
version 3.5.The application uses ASP.NET AJAX, and you plan to deploy it in a Web farm
environment.You need to configure SessionState for the application. Which code fragment
should you use?

A.
<sessionState mode=”InProc”
cookieless=”UseCookies”
/>

B.
<sessionState mode=”InProc”
cookieless=”UseDeviceProfile”
/>

C.
<sessionState mode=”SQLServer”
cookieless=”false”
sqlConnectionString=”Integrated Security=SSPI;data source=MySqlServer;”
/>

D.
<sessionState mode=”SQLServer”
cookieless=”UseUri”
sqlConnectionString=”Integrated Security=SSPI;data source=MySqlServer;”
/>

Explanation:
Since you are using a Web Farm, you must store Session State in SQL Server rather than In Process.



Leave a Reply 0

Your email address will not be published. Required fields are marked *