Session Management With State Server Mode For Distributed Environment
1. Go in services.msc window of your
server or local machine as per need.
Window key + R à type services.msc and enter. Now, start ASP.NET State Server service by
right click, click start as below.
2. Now, Make some changes in web.config
file of your project as below.
a. Change session mode into StateServer.
b. Add stateConnectionString="tcpip=yourIpAddress:PortNo". Port will be 42424 only.
Now, we are ready to store session
with State Server mode.
Comments
Post a Comment