'session'에 해당되는 글 1건
Sharing session state over multiple services using StateServer
For about a week I went through how to share session state over multiple services because our customers wanted to make their service to become HA (High availability). To construct our service as HA, sharing session state over multiple WAS was very important. And because we're using MySQL, using StateServer instead of SqlServer was unavoidable option.
It was really hard to find any document related to this knowledge. Finally I found very helpful site which gives simple solution to us.
Thanks to Li Chen. In addition to the link, I made sample project to show this. Here it is.
To run this example, you have to start "ASP.NET State Service" as below:
1. Type Windows + R and type the "services.msc"
2. Find the "ASP.NET State Service"
3. Start that service
That's it.
Updated at 2015.02.02
In case of WCF, to share session between difference wcf services routed by wcf routing, you should set SoapProcessingEnabled option to false. (Thanks to my smart colleague, Mr. Oh)
Refer the following for more information:
https://msdn.microsoft.com/en-us/library/ee816917(v=vs.110).aspx