Session State Setting web config
how to configure web config for storing session state in out process
If you want to store session in sql server
modify your web config as follow
<sessionState mode="SQLServer" sqlConnectionString="data source=server=servername;uid=username;pwd="password"/>
and if want to store sessioin in state server than modify web config as follow
<sessionState mode="StateServer" stateConnectionString="127.0.0.1:42424"
cookieless="false" timeout="20" />
and Start ASPNET Services
Go to control panel
Administration tools
services
ASPNET state services (right click and start)
now session will store on state server