ASP.NET - serialization - Asked By karur krishna madhu on 09-May-13 05:37 AM

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.
how to fix this issue?
Robbe Morris replied to karur krishna madhu on 09-May-13 07:20 AM
Is your object market as ISerializable?
karur krishna madhu replied to Robbe Morris on 10-May-13 10:22 AM
no i made my class as serializable and  made created a get/set property and passed the value. its working fine now.