I am trying to switch from saving session data "InProc" to "StateServer".
To do this, I marked the class group as [Serializable] and rewrote some classes that could not be serialized before, and marked some values that should not be serialized as [NonSerialized].
Now my problem is that instead of getting a compile-time error, an exception, or any other symptom of a problem from the framework, I get sessions back where some of the stored values change to zero, either in the session itself or inside the objects contained in the session.
Why is there no indication of an error?
What causes null values?
How can I determine if the serialization of the session was correct?
thank
source
share