Working of GridWeb when ASP.NET Session state mode is SQL Server

Possible Usage Scenarios

This article explains working of GridWeb when ASP.NET Session state mode is SQL Server.

Working of GridWeb when ASP.NET Session state mode is SQL Server

If you want to use SQL Server or StateServer to hold sessions, use GridWeb Session Mode. The GridWeb control now supports serializing its data to SQL Server or StateServer.

You will set the GridWeb.SessionMode to SessionMode.Session and use the following sample Web.Config settings. Please change the sessionState attributes as per your needs.

Sample Web.Config Session State Settings

 <sessionState mode="SQLServer" sqlConnectionString="Password=11111111;Persist Security Info=True;User ID=testuser;Data Source=WINSHA-PC\NASIRSQL" timeout="20"></sessionState>

Reference Article