You create a Microsoft ASP.NET Web 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="UseCookies" sqlConnectionString="Integrated Security=SSPI;data source=MySqlServer;"/>
D.
<sessionState mode="SQLServer"cookieless="UseUri" sqlConnectionString="Integrated Security=SSPI;data source=MySqlServer;"/>
Explanation:
When you configure an AJAX-enabled ASP.NET Web site, use only the default value of UseCookies for the cookieless attribute. Settings that use cookies encoded in the URL are not supported by the ASP.NET AJAX client script libraries.