开发者

Where are static variables stored in asp.net aspx page [duplicate]

This question already has answers here: 开发者_运维知识库 Closed 11 years ago.

Possible Duplicate:

Where are static variables stored in asp.net aspx page

Hi can someone please tell me where the static variables are stored in asp.net aspx page.

Is it in the view state? If so I guess you wouldn't want to stored big complex objects?


Static variables will be stored in the AppDomain as part of the state of the type itself. This state willl be cleared everytime process gets recycled.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜