state-server

serialize object with XmlDocument Property

百般思念 提交于 2019-12-12 05:39:28
问题 I have to many classes that contains some field and properties of type XmlDocument . When I put the objects of these classes in session (such as state Server, SQL State Server) it is necessary to serialize them. But if we have a property of type XmlDocument and add [Serialize] Attribute above our class, the following error will be appears . Unable to serialize the session state. In 'StateServer' and 'SQLServer' mode, ASP.NET will serialize the session state objects, and as a result non

Upgrade from .NET 3.0 to 3.5: Sites set to StateServer revert to InProc when in Web Garden

纵饮孤独 提交于 2019-12-04 23:45:26
问题 Scenario: Take a server running .NET 3.0 and an ASP.NET Web site running in an application pool that has Web gardens enabled (number of processes: 3). The web.config configuration is as follows: <sessionState cookieless="UseCookies" cookieName=".authz" mode="StateServer" regenerateExpiredSessionId="true" stateConnectionString="tcpip=127.0.0.1:42424" timeout="60" useHostingIdentity="true" /> Now upgrade the machine to .NET 3.5 SP1. Reboot the server. Result: sessions are no longer maintained

Upgrade from .NET 3.0 to 3.5: Sites set to StateServer revert to InProc when in Web Garden

百般思念 提交于 2019-12-03 15:48:25
Scenario: Take a server running .NET 3.0 and an ASP.NET Web site running in an application pool that has Web gardens enabled (number of processes: 3). The web.config configuration is as follows: <sessionState cookieless="UseCookies" cookieName=".authz" mode="StateServer" regenerateExpiredSessionId="true" stateConnectionString="tcpip=127.0.0.1:42424" timeout="60" useHostingIdentity="true" /> Now upgrade the machine to .NET 3.5 SP1. Reboot the server. Result: sessions are no longer maintained across instances of w3wp.exe, as if all of the have reverted to InProc. Reducing to 1 worker process is

best way to share “session state” type data between two .net applications

牧云@^-^@ 提交于 2019-11-29 02:40:19
we have a web application that, started out small, any new features that were added on, were just made as part of the same project, however now we would like to create new projects for these said addons... we created a new project, it inharits the global.asax of the main project, and also accesses the web.config of the main project just fine, however, in the global asax code there's session checking for data integrity, to see if the user is logged in.. this is where we are getting issues.. the user is logged in, but the site errors out stating that they arnt logged in, because the addon

best way to share “session state” type data between two .net applications

半城伤御伤魂 提交于 2019-11-27 17:00:12
问题 we have a web application that, started out small, any new features that were added on, were just made as part of the same project, however now we would like to create new projects for these said addons... we created a new project, it inharits the global.asax of the main project, and also accesses the web.config of the main project just fine, however, in the global asax code there's session checking for data integrity, to see if the user is logged in.. this is where we are getting issues..