Do I need to serialize properties when using sqlserver session state for .net 3.5 framework and IIS 7.0

I was wondering if the following error,

System.Web.HttpException: Cannot serialize session state. In "StateServer" and "SQLServer" mode, ASP.NET will serialize session state objects, and as a result will not be serializable or MarshalByRef objects will not be allowed

caused by not serializing properties.

Any ideas?

+3
source share
1 answer

StateServer SQL Server , , . , [Serializable], , , .

, , , ...: -)

+3

Source: https://habr.com/ru/post/1708627/


All Articles