2017-04-18 07:52:04 +08:00
## Sharing session state with Asp.Net StateServer requires all servers in the web farm to use the same .NET Framework version
2017-04-06 04:52:19 +08:00
### Scope
Edge
### Version Introduced
4.5
### Source Analyzer Status
Planned
### Change Description
2017-04-21 02:19:05 +08:00
When enabling
< xref:System.Web.SessionState.SessionStateMode.StateServer ? displayProperty = name >
session state, all of the servers in the given web farm must use the same
version of the .NET Framework in order for state to be properly shared.
2017-04-06 04:52:19 +08:00
- [ ] Quirked
- [ ] Build-time break
### Recommended Action
2017-04-21 02:19:05 +08:00
Be sure to upgrade .NET Framework versions on web servers that share state at
the same time.
2017-04-06 04:52:19 +08:00
### Affected APIs
* `F:System.Web.SessionState.SessionStateMode.StateServer`
### Category
ASP.NET
[More information ](http://connect.microsoft.com/VisualStudio/feedback/details/823803/asp-net-stateserver-requests-are-not-compatible-between-4-0-and-4-5-1-versions-of-net-framework )
<!--
### Notes
Source analysis will be more useful than binary here; we'll want to look in the web.config for StateServer usage (https://msdn.microsoft.com/en-us/subscriptions/downloads/h6bb9cz9(v=vs.71).aspx)
-->
2017-04-18 07:52:04 +08:00
<!-- breaking change id: 128 -->