Reputation: 1
I have implemented a sqlserver Session state mechanism to save my session in database but I am getting a error of Session state serialization. And my class contains struct types and I have added the Serializable
attribute on top of that.
Upvotes: 0
Views: 578
Reputation: 65411
You need to add the Serializable tag to all classes that will be stored in your session.
Upvotes: 1