G
Guest
I am implementing the Session state persistence to the Sql server in an
application which all this while was using InProc session state. One of the
pre-requisite of Sql server mode session state is that all the objects put
into the session should be serializable. The problem is the class which I am
marking as serializable is having System.XML.XmlDocument object as a member
variable. And Sql server mode requires that this System.XML.XmlDocument
should also be serialized as this is the part of the object I am putting in a
session. I see that XMLDocument is not marked as Serializable. Also the
session object its XMLDocument member variable is being used throughout the
existing application.So I would not like much changes which would break the
client code using this object.Does anybody see any workaround or I am missing
anything here?
Thank you in advance for the responses,
Ashish Gupta
application which all this while was using InProc session state. One of the
pre-requisite of Sql server mode session state is that all the objects put
into the session should be serializable. The problem is the class which I am
marking as serializable is having System.XML.XmlDocument object as a member
variable. And Sql server mode requires that this System.XML.XmlDocument
should also be serialized as this is the part of the object I am putting in a
session. I see that XMLDocument is not marked as Serializable. Also the
session object its XMLDocument member variable is being used throughout the
existing application.So I would not like much changes which would break the
client code using this object.Does anybody see any workaround or I am missing
anything here?
Thank you in advance for the responses,
Ashish Gupta