Hi
In webconfig file why we set this
<sessionState mode="SQLServer">
what are the mode in sessionState ?
when i added sessionstate in my webconfig i meet this error
Message: Unable to serialize the session state. In 'StateServer' and 'SQLServer' mode, ASP.NET will serialize the session state objects, and as a result non-serializable objects or MarshalByRef objects are not permitted. The same restriction applies if similar serialization is done by the custom session state store in 'Custom' mode. System.Runtime.Serialization.SerializationException: Type
'DMCountry' in Assembly
after i command in my webconfig working
But my questions is
what are mode in sessionstate when we can use that mode
<sessionState mode="SQLServer"
Mark as Answer if its helpful to you
Kumaraspcode2009@gmail.com