开发者

Storing Object State in an Asp.net application without using Session

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;
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜