web.config文件
<sessionState mode="StateServer"
cookieless="true"
timeout="number of minutes"
stateConnectionString="tcpip=server:port"
sqlConnectionString="sql connection string"
stateNetworkTimeout="number of seconds"/>
启动aspnet_state服务
<sessionState mode="StateServer"
cookieless="true"
timeout="number of minutes"
stateConnectionString="tcpip=server:port"
sqlConnectionString="sql connection string"
stateNetworkTimeout="number of seconds"/>
启动aspnet_state服务
方法如下:Browse to the server by using the Internet Protocol (IP) address rather than the domain/server name.