The <ConnectionStrings> section shown above the <SessionState> section is not connected to sessionState. The ConnectionStrings section is for other purposes, for example, when you have your own database and you need to connect to it, and this section contains only information about the database used for MemberShip, profiles, etc.
The <sessionState > element has its own settings for specifying a connection string with the name: sqlConnectionString , as shown below:
<sessionState mode="Off|InProc|StateServer|SQLServer" cookieless="true|false" timeout="number of minutes" stateConnectionString="tcpip=server:port" sqlConnectionString="sql connection string" stateNetworkTimeout="number of seconds"/>
Now that you use mode = "InProc", there is no need to set the sqlConnectionString parameter. Even if it is installed, it will not be used because the mode is "InProc" and not "SQLServer"
source share