Software developer can disable session state management using option “Off”. This can provide a slight performance improvement for websites that are not using session state:
<?xml version=”1.0” encoding=”utf-8” ?>
<configuration>
<system.web>
<!— other settings are omitted. —>
<sessionState
cookieless=”AutoDetect” cookieName=”ASP.NET_SessionID”
regenerateExpiredSessionID=”false”
timeout=”20”
mode=”Off”
stateConnectionString=”tcpip=127.0.0.1:42424”
stateNetworkTimeout=”10”
sqlConnectionString=”data source=127.0.0.1;Integrated Security=SSPI”
sqlCommandTimeout=”30” allowCustomSqlDatabase=”false”
customProvider=””
/>
</system.web>
</configuration>