ASP.NET


How can I change ASP.NET Session State?
The simplest way is using "in-proc" which will store the sessions inside the memory of your application. However, app pools on our shared services (we offer a dedicated app pool for each website) are limited to a certain amount of memory . To get around that limitation, we suggest using the "out-of-process" mode. To do this, the string will be changed to something like this in the web.config

<configuration>

  <system.web>

  <sessionState mode="StateServer" cookieless="false" timeout="20" /> 

  </system.web>

</configuration>

If switching to StateServer is giving you an error, the asp net service may need to be turned on at the server level. please refer to the Microsoft post for more details

Tips:
Refer Microsoft's provides detailed analysis of different modes that can be used to store states: http://msdn.microsoft.com/en-us/library/ms972429.aspx