ASP.NET SQL Server session with load balancing

I have done something, but I don't know what I need to do next.

I deploy the same site in server A and B, which has the same domain (http://dev.**.com).

They have the same machinekey, which I declared in the web.config in the site.

The session state has pointed to the same ASPState database.

As you can see from the following screenshot, the two sites has respective appId and AppName. That means the two sites cannot share session.

Could anybody tell me what I need to do next? any help will be appreciated.

Do I need to declare the application name? But where I should to declare it?

Answers


You may checkout the following article.


Need Your Help

IMFMediaSink, how to set an encoder property?

c++ encoding h.264 ms-media-foundation

I have a IMFMediaSink interface implemented that encodes through the native h264 codec a particular source (we're talking about the Windows 8 Modern (Metro) interface). I want to change the default

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.