In an Asp.net2.0 application I have stored the object state in the session. The object state will be changing frequently. The size of the object is also large. Will 开发者_运维技巧this lead to "server error" in the application?
And also suggest whether there is any other way to store the state of the object which is large in size.
I would highly recommend that you persist this to your database and pull the parts out that you need, when you need it.
If the object is application and not user specific then you could store it in the Application State.
Application["ObjectName"] = Object;
精彩评论