Author: Pratap09 | Posted on: 3/23/2010 6:28:43 AM | Views : 297

Hi All,
My website session was expired  within  seconds.
I tried every possible solution but problem was same.
Now i changed my session mode to stateserver, but when i logout from website its giving error.

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. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Excep ...

Go to the complete details ...