Where are static variables stored in asp.net aspx page [duplicate]
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.
精彩评论