Store Session State on a State Server

Madhu.b.rokkam
Posted by Madhu.b.rokkam under ASP.NET category on | Points: 40 | Views : 2183
We can store a session state in a State Server by configuring this way

<sessionState mode="StateServer" stateConnectionString="tcpip=127.0.0.1:8086" cookieless="false" timeout="20" />


A machine running the aspnet_state.exe service is called a state server. So Just we need to put the IP address of the stateserver to configure that.

Comments or Responses

Posted by: Bhaskara on: 5/4/2011 Level:Starter | Status: [Member] | Points: 10
If the application is running in multiple servers, which IP we have to provide and does the aspnet_state.exe service need to run in both the servers? How in the case of Web Farms?

Login to post response